Klasse OptionOutlet

Alle implementierten Schnittstellen:
Outlet

public class OptionOutlet extends OutletWithoutMergepoints
Writes an option to the output.
  • Konstruktordetails

    • OptionOutlet

      public OptionOutlet(QualifiedName name)
      Constructor.
      Parameter:
      name - the name of the outlet.
  • Methodendetails

    • execute

      public OutletResult execute(ControllerState controllerState) throws GeneratorException
      Beschreibung aus Schnittstelle kopiert: Outlet
      Generates the output for this template into the Generated object.
      Angegeben von:
      execute in Schnittstelle Outlet
      Angegeben von:
      execute in Klasse OutletImpl
      Parameter:
      controllerState - the current controller state, not null.
      Gibt zurück:
      the output of the Outlet.
      Löst aus:
      GeneratorException - if generation fails.
    • setOption

      public void setOption(String option)
      Sets the name of the option to output.
      Parameter:
      option - the name of the option.