MetaDone
|
Public Member Functions | |
UpdaterToggleEngine (GrasylaContext context, ConcreteObject expression, Engine parent) throws BadPreCondition | |
Protected Member Functions | |
Object | updateValue (MutableValue mutator) |
Sets a value by toggling the existing one.
none
metadone.client.grasyla2.value.UpdaterToggleEngine.UpdaterToggleEngine | ( | GrasylaContext | context, |
ConcreteObject | expression, | ||
Engine | parent | ||
) | throws BadPreCondition |
Initializes this engine.
context | The context |
expression | The expression |
parent | The parent or null |
BadPreCondition |
Object metadone.client.grasyla2.value.UpdaterToggleEngine.updateValue | ( | MutableValue | mutator | ) | [protected, virtual] |
Creates a new values for the mutator.
This method does not change the value of the mutator, it just returns the value that should be set.
mutator | The mutator |
Implements metadone.client.grasyla2.value.AbstractUpdaterEngine.
References metadone.client.grasyla2.value.MutableValue.getValue().