Klasse ApplyAction

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

public class ApplyAction extends Object implements MergepointAction
Applies an outlet to the matching element. The output of the outlet is appended to the output.
  • Konstruktordetails

    • ApplyAction

      public ApplyAction(String path, String outletName, Boolean acceptNotSet)
      Constructor.
      Parameter:
      path - The path to the source element to be processed. null means ".".
      outletName - the name of the outlet to apply.
      acceptNotSet - true if no error should be thrown if no element matches the given path, true if an error should be thrown in such a case. null means true.
  • Methodendetails

    • execute

      public OutletResult execute(ControllerState controllerState) throws GeneratorException
      Applies an outlet to the matching element. The output of the outlet is appended to the output. ${...} Tokens are replaced within outletName and path.
      Angegeben von:
      execute in Schnittstelle MergepointAction
      Parameter:
      controllerState - The current state of the controller.
      Gibt zurück:
      The value to insert into the mergepoint, not null.
      Löst aus:
      GeneratorException - if an error occurs during generation.
    • toString

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

      public int hashCode()
      Setzt außer Kraft:
      hashCode in Klasse Object
    • equals

      public boolean equals(Object obj)
      Setzt außer Kraft:
      equals in Klasse Object