Klasse OptionAction
java.lang.Object
org.apache.torque.generator.control.action.OptionAction
- Alle implementierten Schnittstellen:
MergepointAction
Inserts the value of an option into a mergepoint.
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungexecute
(ControllerState controllerState) Returns the value of the configured option.toString()
-
Konstruktordetails
-
OptionAction
Constructor.- Parameter:
option
- the name of the option. May or may not be prefixed with a namespace (if no namespace is used, the namespace of the current outlet is used).acceptNotSet
- true if it is acceptable that the option is not set, false if it is an error that the option is not set. null means true.
-
-
Methodendetails
-
execute
Returns the value of the configured option.- Angegeben von:
execute
in SchnittstelleMergepointAction
- Parameter:
controllerState
- the current state of the controller.- Gibt zurück:
- The value of the option, or the empty String if acceptNotSet is true and the option is not set.
- Löst aus:
GeneratorException
- if acceptNotSet is false and the option is not set.
-
toString
-