public class StaticProperty extends Object implements MonitorableProperty<Object>
Constructor and Description |
---|
StaticProperty(MonitorableProperty<?> property)
Records the state of the MonitorableProperty.
|
Modifier and Type | Method and Description |
---|---|
Date |
getLastModified()
Get the last update date for this property, if the property is immutable
then this should be set to the date at which the implementation is
created.
|
String[] |
getName()
Return the name of this property, names are heirarchical in nature and
are defined as an array of String objects.
|
Object |
getValue()
Return the value of this property
|
public StaticProperty(MonitorableProperty<?> property)
property
- public Object getValue() throws NoSuchPropertyException
MonitorableProperty
getValue
in interface MonitorableProperty<Object>
NoSuchPropertyException
public String[] getName()
MonitorableProperty
getName
in interface MonitorableProperty<Object>
public Date getLastModified()
MonitorableProperty
getLastModified
in interface MonitorableProperty<Object>
Copyright © 2015–2016 The Apache Software Foundation. All rights reserved.