Package gov.nasa.jpl.resource
Class StringResource
- All Implemented Interfaces:
ResourceContainer
-
Field Summary
Fields inherited from class gov.nasa.jpl.resource.Resource
interpolation, maximum, minimum, possibleStates, subsystem, units
-
Constructor Summary
ConstructorsConstructorDescriptionStringResource
(String profile, String subsystem) StringResource
(String profile, String subsystem, String units) StringResource
(String profile, String subsystem, String units, String interpolation) StringResource
(String profile, String subsystem, String units, String interpolation, List<String> possibleStates) StringResource
(String profile, List<String> possibleStates) StringResource
(List<String> possibleStates) -
Method Summary
Methods inherited from class gov.nasa.jpl.resource.Resource
addChangeListener, clearHistory, currentval, firstTimeSet, formUniqueName, getChangesDuringWindow, getDataType, getIndices, getInterpolation, getMaximumLimit, getMinimumLimit, getName, getPossibleStates, getSize, getSubsystem, getType, getUniqueName, getUnits, historyIterator, insertRecord, isFrozen, isIndexInArrayedResource, lastTimeSet, lastValue, max, min, nextTimeResourceSetToValue, nextTimeSet, priorTimeResourceSetToValue, priorTimeSet, registerResource, removeChangeListener, resourceHistoryHasElements, set, setFrozen, setIndices, setInterpolation, setMaximumLimit, setMinimumLimit, setName, setSubsystem, setUnits, valueAt, whenEqualTo, whenGreaterThan, whenGreaterThanOrEqualTo, whenLessThan, whenLessThanOrEqualTo, whenNotEqualTo
-
Constructor Details
-
StringResource
-
StringResource
-
StringResource
-
StringResource
-
StringResource
-
StringResource
-
StringResource
-
StringResource
public StringResource()
-
-
Method Details
-
profile
Description copied from class:Resource
Returns the default value of the resource before it is set() to a new value. Must be abstract since different data types have different intuitive defaults. -
update
public void update()Description copied from class:Resource
No-op method that adapters can override in custom resources- Specified by:
update
in interfaceResourceContainer
- Overrides:
update
in classResource<String>
-