Package org.openbase.jps.preset
Class AbstractJPEnum<E extends Enum<E>>
- java.lang.Object
-
- org.openbase.jps.core.AbstractJavaProperty<E>
-
- org.openbase.jps.preset.AbstractJPEnum<E>
-
- Type Parameters:
E- property related enum type.
- All Implemented Interfaces:
Comparable<AbstractJavaProperty>
- Direct Known Subclasses:
JPLogLevel
public abstract class AbstractJPEnum<E extends Enum<E>> extends AbstractJavaProperty<E>
- Author:
- Divine Threepwood
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.openbase.jps.core.AbstractJavaProperty
AbstractJavaProperty.ValueType
-
-
Field Summary
-
Fields inherited from class org.openbase.jps.core.AbstractJavaProperty
argumentIdentifiers, arguments, identifier, logger, propertyIdentifiers
-
-
Constructor Summary
Constructors Constructor Description AbstractJPEnum(String[] commandIdentifier)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<E>detectTypeClass()protected String[]generateArgumentIdentifiers()protected Eparse(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, getPropertyDefaultValue, getPropertyIdentifiers, getSyntax, getValue, getValueType, isIdentified, isIdentifiered, isParsed, loadAction, match, neetToBeParsed, overwriteDefaultValue, parseArguments, registerDependingProperty, reset, setValue, toString, update, updateValue, validate
-
-
-
-
Constructor Detail
-
AbstractJPEnum
public AbstractJPEnum(String[] commandIdentifier)
-
-
Method Detail
-
generateArgumentIdentifiers
protected String[] generateArgumentIdentifiers()
- Specified by:
generateArgumentIdentifiersin classAbstractJavaProperty<E extends Enum<E>>
-
parse
protected E parse(List<String> arguments) throws JPServiceException
- Specified by:
parsein classAbstractJavaProperty<E extends Enum<E>>- Throws:
JPServiceException
-
-