Package megamek.common.options
Interface IBasicOption
- All Known Subinterfaces:
IOption
- All Known Implementing Classes:
BasicOption,Option
public interface IBasicOption
Basic option. It's just
String name - Object value pair-
Method Summary
-
Method Details
-
getName
String getName()Returns the option name- Returns:
- name of the option
-
getValue
Object getValue()Returns the option value- Returns:
- option value
-
is
- Returns:
- True when this Option's name is equal to the given Option name.
-
isAnyOf
- Returns:
- True when this Option's name is equal to at least one of the given Option names.
-
isNoneOf
- Returns:
- True when this Option's name is not equal to any of the given names.
-