|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD |
java.lang.Objectorg.linkedin.glu.provisioner.impl.planner.ModifiedProperty
class ModifiedProperty
Describes a property that has been modified author: Riccardo Ferretti created: Jul 27, 2009
Property Summary | |
---|---|
java.lang.String |
key
the key of the property |
java.lang.String |
newValue
the new value of the property |
java.lang.String |
oldValue
The old value of the property |
Constructor Summary | |
ModifiedProperty(java.lang.String key, java.lang.String oldValue, java.lang.String newValue)
|
|
ModifiedProperty(java.lang.Object args)
|
Method Summary | |
---|---|
static java.util.Map
|
compare(java.util.Map oldProperties, java.util.Map newProperties)
Compares the given map (key->value) of properties and returns a map of all the different ones, where the key is the key of the property and the value contains information about the change |
java.lang.Boolean
|
toBeAdded()
Return if the property was not present before and needs to be added now |
java.lang.Boolean
|
toBeRemoved()
Return if the property was present before but needs to be removed now |
Methods inherited from class java.lang.Object | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Property Detail |
---|
final java.lang.String key
final java.lang.String newValue
final java.lang.String oldValue
Constructor Detail |
---|
ModifiedProperty(java.lang.String key, java.lang.String oldValue, java.lang.String newValue)
ModifiedProperty(java.lang.Object args)
Method Detail |
---|
static java.util.Map compare(java.util.Map oldProperties, java.util.Map newProperties)
java.lang.Boolean toBeAdded()
java.lang.Boolean toBeRemoved()
Groovy Documentation