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 booleanequals(Object rhs)StringgetNewValue()New value of the property.StringgetOldValue()Old value of the property.StringgetPropertyName()name of the property.StringgetReason()The (human readable) reason the change could not be made.ObjectgetSource()Preferred value is an ObjectName, otherwise a String suitable for a user to understand what might have been affected.inthashCode()Object[]toArray()StringtoString()
-
-
-
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
-
-