@MappedSuperclass public abstract class ParameterConfiguration extends Object implements Serializable, PathObject
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
changingStaticData
tells us if this configuration can be operated at runTime or not
|
protected String |
configuredValue
This is the configured value corresponding to the current configuration
for this parameter
|
protected Exception |
reConfigurationFailure
this transient field is to carry information about a failure in configuration "repair".
|
COMPARATOR| Modifier | Constructor and Description |
|---|---|
protected |
ParameterConfiguration() |
protected |
ParameterConfiguration(String value) |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
checkValue(String value) |
boolean |
equals(Object o) |
String |
getConfiguredValue()
Returns the configured value for this parameter
|
abstract ParameterDescription |
getDescription() |
abstract long |
getId() |
ParameterPath |
getPath() |
Exception |
getReConfigurationFailure() |
String |
getValueAt(long date) |
abstract List<? extends ValueEvent> |
getValueEvents() |
boolean |
hasChanged() |
int |
hashCode() |
boolean |
isChangingStaticData() |
boolean |
isReadOnly() |
void |
modifyValue(String value,
boolean checkValue)
Modifies the configuredValue field
|
protected abstract void |
setId(long id) |
void |
setReConfigurationFailure(Exception reConfigurationFail) |
String |
toString() |
protected String configuredValue
protected boolean changingStaticData
protected Exception reConfigurationFailure
protected ParameterConfiguration()
protected ParameterConfiguration(String value)
public abstract long getId()
protected abstract void setId(long id)
public boolean isReadOnly()
public Exception getReConfigurationFailure()
public void setReConfigurationFailure(Exception reConfigurationFail)
public abstract ParameterDescription getDescription()
public abstract List<? extends ValueEvent> getValueEvents()
public String getConfiguredValue()
public String getValueAt(long date)
public boolean isChangingStaticData()
protected Object checkValue(String value) throws IllegalArgumentException
IllegalArgumentExceptionpublic void modifyValue(String value, boolean checkValue)
value - checkValue - if true, the value is checked for consistency against
the constraintsImmutableStateException - if modification is for a registered objectIllegalArgumentException - if value is not coherent with type and constraintspublic ParameterPath getPath()
getPath in interface PathObjectpublic boolean hasChanged()
Copyright © 2015 LSST. All rights reserved.