Package org.openbase.jps.preset
Class AbstractJPBoolean
- java.lang.Object
-
- org.openbase.jps.core.AbstractJavaProperty<Boolean>
-
- org.openbase.jps.preset.AbstractJPBoolean
-
- All Implemented Interfaces:
Comparable<AbstractJavaProperty>
- Direct Known Subclasses:
JPDebugMode,JPForce,JPInitialize,JPReadOnly,JPReset,JPShowGUI,JPTestMode,JPVerbose,JPVisualDebugMode
public abstract class AbstractJPBoolean extends AbstractJavaProperty<Boolean>
- Author:
- Divine Threepwood
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.openbase.jps.core.AbstractJavaProperty
AbstractJavaProperty.ValueType
-
-
Field Summary
Fields Modifier and Type Field Description static String[]ARGUMENT_IDENTIFIERS-
Fields inherited from class org.openbase.jps.core.AbstractJavaProperty
argumentIdentifiers, arguments, identifier, logger, propertyIdentifiers
-
-
Constructor Summary
Constructors Constructor Description AbstractJPBoolean(String[] commandIdentifier)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String[]generateArgumentIdentifiers()protected BooleangetPropertyDefaultValue()protected Booleanparse(List<String> arguments)-
Methods inherited from class org.openbase.jps.core.AbstractJavaProperty
addArgument, addErrorReport, checkArgumentCount, checkArgumentCount, checkArgumentCountMax, checkArgumentCountMin, compareTo, getArgumentIdentifiers, getDefaultExample, getDefaultValue, getDependencyList, getDescription, getErrorReport, getErrorReportMap, getOneArgumentResult, getPropertyIdentifiers, getSyntax, getValue, getValueType, isIdentified, isIdentifiered, isParsed, loadAction, match, neetToBeParsed, overwriteDefaultValue, parseArguments, registerDependingProperty, reset, setValue, toString, update, updateValue, validate
-
-
-
-
Field Detail
-
ARGUMENT_IDENTIFIERS
public static final String[] ARGUMENT_IDENTIFIERS
-
-
Constructor Detail
-
AbstractJPBoolean
public AbstractJPBoolean(String[] commandIdentifier)
- Parameters:
commandIdentifier-
-
-
Method Detail
-
generateArgumentIdentifiers
protected String[] generateArgumentIdentifiers()
- Specified by:
generateArgumentIdentifiersin classAbstractJavaProperty<Boolean>
-
parse
protected Boolean parse(List<String> arguments) throws JPBadArgumentException
- Specified by:
parsein classAbstractJavaProperty<Boolean>- Throws:
JPBadArgumentException
-
getPropertyDefaultValue
protected Boolean getPropertyDefaultValue() throws JPNotAvailableException
- Specified by:
getPropertyDefaultValuein classAbstractJavaProperty<Boolean>- Throws:
JPNotAvailableException
-
-