public class CopyOutlet extends OutletImpl
| Constructor and Description |
|---|
CopyOutlet(QualifiedName name,
ConfigurationProvider configurationProvider,
String path)
Constructs a new CopyOutlet.
|
| Modifier and Type | Method and Description |
|---|---|
OutletResult |
execute(ControllerState controllerState)
Executes the generation process; the result is returned.
|
addMergepointMapping, afterExecute, beforeExecute, getInputClass, getInputElementName, getMergepointMapping, getMergepointMappings, getName, getVariable, mergepoint, setInputClass, setInputElementName, setMergepointMapping, setVariable, setVariable, toStringpublic CopyOutlet(QualifiedName name, ConfigurationProvider configurationProvider, String path) throws ConfigurationException
name - the name of this outlet, not null.configurationProvider - the provider for reading the resources,
not null.path - the path to the resource, not null.
May contain tokens of the form ${....}, these are parsed.NullPointerException - if name, path or configurationProvider
are null.ConfigurationException - if an error occurs while reading the
template.public OutletResult execute(ControllerState controllerState) throws GeneratorException
execute in interface Outletexecute in class OutletImplcontrollerState - the current controller state.GeneratorException - if generation fails.Outlet.execute(ControllerState)Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.