public class JavaFilenameOutlet extends OutletImpl
Modifier and Type | Field and Description |
---|---|
static String |
CLASSNAME_MERGEPOINT_NAME
The name of the merge point which provides the file name.
|
static String |
PACKAGE_MERGEPOINT_NAME
The name of the merge point which provides the class name.
|
Constructor and Description |
---|
JavaFilenameOutlet(QualifiedName qualifiedName)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
OutletResult |
execute(ControllerState controllerState)
Generates the output for this template into the Generated object.
|
addMergepointMapping, afterExecute, beforeExecute, getInputClass, getInputElementName, getMergepointMapping, getMergepointMappings, getName, getVariable, mergepoint, setInputClass, setInputElementName, setMergepointMapping, setVariable, setVariable, toString
public static final String PACKAGE_MERGEPOINT_NAME
public static final String CLASSNAME_MERGEPOINT_NAME
public JavaFilenameOutlet(QualifiedName qualifiedName)
qualifiedName
- the qualified name of the outlet, not null.public OutletResult execute(ControllerState controllerState) throws GeneratorException
Outlet
execute
in interface Outlet
execute
in class OutletImpl
controllerState
- the current controller state, not null.GeneratorException
- if generation fails.Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.