public class OptionOutlet extends OutletWithoutMergepoints
| Constructor and Description | 
|---|
| OptionOutlet(QualifiedName name)Constructor. | 
| Modifier and Type | Method and Description | 
|---|---|
| OutletResult | execute(ControllerState controllerState)Generates the output for this template into the Generated object. | 
| void | setOption(String option)Sets the name of the option to output. | 
addMergepointMapping, getMergepointMappingafterExecute, beforeExecute, getInputClass, getInputElementName, getMergepointMappings, getName, getVariable, mergepoint, setInputClass, setInputElementName, setMergepointMapping, setVariable, setVariable, toStringpublic OptionOutlet(QualifiedName name)
name - the name of the outlet.public OutletResult execute(ControllerState controllerState) throws GeneratorException
Outletexecute in interface Outletexecute in class OutletImplcontrollerState - the current controller state, not null.GeneratorException - if generation fails.public void setOption(String option)
option - the name of the option.Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.