Package org.glassfish.admin.amx.base
Class UnprocessedConfigChange
- java.lang.Object
-
- org.glassfish.admin.amx.base.UnprocessedConfigChange
-
@Taxonomy(stability=UNCOMMITTED) public final class UnprocessedConfigChange extends Object
Note: this API is highly volatile and subject to change.Class representing a change to a configuration attribute. A PropertyChangeEvent is unsuitable, as its 'source' is transient.
-
-
Constructor Summary
Constructors Constructor Description UnprocessedConfigChange(Object[] data)
must match the order intoArray()
UnprocessedConfigChange(String reason, PropertyChangeEvent e)
UnprocessedConfigChange(String name, String oldValue, String newValue, Object source, String reason)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object rhs)
String
getNewValue()
New value of the property.String
getOldValue()
Old value of the property.String
getPropertyName()
name of the property.String
getReason()
The (human readable) reason the change could not be made.Object
getSource()
Preferred value is an ObjectName, otherwise a String suitable for a user to understand what might have been affected.int
hashCode()
Object[]
toArray()
String
toString()
-
-
-
Field Detail
-
MULTI
public static final String MULTI
indicates that the change represents more than one property. The old/new values are arbitrary- See Also:
- Constant Field Values
-
-
Constructor Detail
-
UnprocessedConfigChange
public UnprocessedConfigChange(Object[] data)
must match the order intoArray()
-
UnprocessedConfigChange
public UnprocessedConfigChange(String name, String oldValue, String newValue, Object source, String reason)
-
UnprocessedConfigChange
public UnprocessedConfigChange(String reason, PropertyChangeEvent e)
-
-
Method Detail
-
toArray
public Object[] toArray()
-
getReason
public String getReason()
The (human readable) reason the change could not be made.
-
getPropertyName
public String getPropertyName()
name of the property. Can be null
-
getSource
public Object getSource()
Preferred value is an ObjectName, otherwise a String suitable for a user to understand what might have been affected. Can be null.
-
getOldValue
public String getOldValue()
Old value of the property. Can be null
-
getNewValue
public String getNewValue()
New value of the property. Can be null
-
-