@Taxonomy(stability=UNCOMMITTED) public final class UnprocessedConfigChange extends Object
Class representing a change to a configuration attribute. A PropertyChangeEvent is unsuitable, as its 'source' is transient.
Modifier and Type | Field and Description |
---|---|
static String |
MULTI
indicates that the change represents more than one property.
|
Constructor and Description |
---|
UnprocessedConfigChange(Object[] data)
must match the order in
toArray() |
UnprocessedConfigChange(String reason,
PropertyChangeEvent e) |
UnprocessedConfigChange(String name,
String oldValue,
String newValue,
Object source,
String reason) |
Modifier and Type | Method and 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() |
public static final String MULTI
public UnprocessedConfigChange(Object[] data)
toArray()
public UnprocessedConfigChange(String name, String oldValue, String newValue, Object source, String reason)
public UnprocessedConfigChange(String reason, PropertyChangeEvent e)
public Object[] toArray()
public String getReason()
public String getPropertyName()
public Object getSource()
public String getOldValue()
public String getNewValue()
Copyright © 2019. All rights reserved.