Package org.openbase.jps.preset
Class JPShareDirectory
java.lang.Object
org.openbase.jps.core.AbstractJavaProperty<File>
org.openbase.jps.preset.AbstractJPFile
org.openbase.jps.preset.AbstractJPDirectory
org.openbase.jps.preset.JPShareDirectory
- All Implemented Interfaces:
Comparable<AbstractJavaProperty>
- Author:
- Divine Threepwood
-
Nested Class Summary
Nested classes/interfaces inherited from class org.openbase.jps.core.AbstractJavaProperty
AbstractJavaProperty.ValueType -
Field Summary
FieldsFields inherited from class org.openbase.jps.core.AbstractJavaProperty
argumentIdentifiers, arguments, identifier, logger, propertyIdentifiers -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.openbase.jps.preset.AbstractJPDirectory
generateArgumentIdentifiersMethods inherited from class org.openbase.jps.preset.AbstractJPFile
convertIntoValidFileName, getAutoCreateMode, getExistenceHandling, getType, parse, setAutoCreateMode, setExistenceHandling, setValue, toStringMethods inherited from class org.openbase.jps.core.AbstractJavaProperty
addArgument, addErrorReport, checkArgumentCount, checkArgumentCount, checkArgumentCountMax, checkArgumentCountMin, compareTo, getArgumentIdentifiers, getDefaultExample, getDefaultValue, getDependencyList, getErrorReport, getErrorReportMap, getOneArgumentResult, getPropertyIdentifiers, getSyntax, getValue, getValueType, isIdentified, isIdentifiered, isParsed, loadAction, match, neetToBeParsed, overwriteDefaultValue, parseArguments, registerDependingProperty, reset, update, updateValue
-
Field Details
-
COMMAND_IDENTIFIERS
-
-
Constructor Details
-
JPShareDirectory
public JPShareDirectory()
-
-
Method Details
-
getParentDirectory
- Overrides:
getParentDirectoryin classAbstractJPFile- Returns:
- the parent dir or null if the no parent exist. Method can be overwritten to defining the parent dir.
- Throws:
JPNotAvailableException
-
getPropertyDefaultValue
- Specified by:
getPropertyDefaultValuein classAbstractJavaProperty<File>
-
validate
Description copied from class:AbstractJavaPropertyCan be overwritten for value validation. Method is called after parsing.- Overrides:
validatein classAbstractJPFile- Throws:
JPValidationException
-
getDescription
Description copied from class:AbstractJavaPropertyMethod returns the description of the property.- Specified by:
getDescriptionin classAbstractJavaProperty<File>
-