Klasse OutputAction

java.lang.Object
org.apache.torque.generator.control.action.OutputAction
Alle implementierten Schnittstellen:
MergepointAction

public class OutputAction extends Object implements MergepointAction
Inserts a fixed String into a mergepoint.
  • Konstruktordetails

    • OutputAction

      public OutputAction(String value)
      Constructor.
      Parameter:
      value - fixed value to insert, not null.
  • Methodendetails

    • execute

      public OutletResult execute(ControllerState controllerState) throws GeneratorException
      Returns the value. ${...} Tokens are replaced within the value.
      Angegeben von:
      execute in Schnittstelle MergepointAction
      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

      public String toString()
      Setzt außer Kraft:
      toString in Klasse Object