Package org.openbase.jps.preset
Class AbstractJPTime
- java.lang.Object
-
- org.openbase.jps.core.AbstractJavaProperty<Long>
-
- org.openbase.jps.preset.AbstractJPTime
-
- All Implemented Interfaces:
Comparable<AbstractJavaProperty>
public abstract class AbstractJPTime extends AbstractJavaProperty<Long>
- Author:
- Tamino Huxohl
-
-
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 AbstractJPTime(String[] commandIdentifiers)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected String[]generateArgumentIdentifiers()StringgetDescription()Method returns the description of the property.abstract StringgetTimeDescription()protected Longparse(List<String> arguments)-
Methods inherited from class org.openbase.jps.core.AbstractJavaProperty
addArgument, addErrorReport, checkArgumentCount, checkArgumentCount, checkArgumentCountMax, checkArgumentCountMin, compareTo, getArgumentIdentifiers, getDefaultExample, getDefaultValue, getDependencyList, getErrorReport, getErrorReportMap, getOneArgumentResult, getPropertyDefaultValue, 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
-
AbstractJPTime
public AbstractJPTime(String[] commandIdentifiers)
-
-
Method Detail
-
getDescription
public String getDescription()
Description copied from class:AbstractJavaPropertyMethod returns the description of the property.- Specified by:
getDescriptionin classAbstractJavaProperty<Long>
-
getTimeDescription
public abstract String getTimeDescription()
-
generateArgumentIdentifiers
protected String[] generateArgumentIdentifiers()
- Specified by:
generateArgumentIdentifiersin classAbstractJavaProperty<Long>
-
parse
protected Long parse(List<String> arguments) throws JPBadArgumentException
- Specified by:
parsein classAbstractJavaProperty<Long>- Throws:
JPBadArgumentException
-
-