org.openarchitectureware.compiler.helpers
Class CompilationUnitInstantiator
java.lang.Object
org.openarchitectureware.workflow.lib.AbstractWorkflowComponent
org.openarchitectureware.workflow.lib.AbstractWorkflowComponent2
org.openarchitectureware.compiler.helpers.CompilationUnitInstantiator
- All Implemented Interfaces:
- WorkflowComponent, WorkflowComponentWithID
public class CompilationUnitInstantiator
- extends AbstractWorkflowComponent2
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FILE_SEPARATOR
public static final java.lang.String FILE_SEPARATOR
EXTENSION_EXT
public static final java.lang.String EXTENSION_EXT
- See Also:
- Constant Field Values
TEMPLATE_EXT
public static final java.lang.String TEMPLATE_EXT
- See Also:
- Constant Field Values
CompilationUnitInstantiator
public CompilationUnitInstantiator()
addSourceName
public void addSourceName(java.lang.String filename)
- Add filename of source file.
- Parameters:
filename
- the filename
addResourceRoot
public void addResourceRoot(java.lang.String cpElement)
- Adds a fragment root.
- Parameters:
cpElement
- the fragment root
setOutputSlot
public void setOutputSlot(java.lang.String outputSlot)
- Sets the output slot.
- Parameters:
outputSlot
- name of output slot
setSourceEncoding
public void setSourceEncoding(java.lang.String encoding)
- Sets the character encoding for the source file.
- Parameters:
encoding
- name of character encoding
getComponentName
public java.lang.String getComponentName()
- Description copied from class:
AbstractWorkflowComponent
- Override this method by custom components.
- Specified by:
getComponentName
in interface WorkflowComponent
- Overrides:
getComponentName
in class AbstractWorkflowComponent
- Returns:
- Simple class name as default.
- See Also:
WorkflowComponent.getComponentName()
checkConfigurationInternal
protected void checkConfigurationInternal(Issues issues)
- Specified by:
checkConfigurationInternal
in class AbstractWorkflowComponent2
invokeInternal
protected void invokeInternal(WorkflowContext ctx,
ProgressMonitor monitor,
Issues issues)
- Specified by:
invokeInternal
in class AbstractWorkflowComponent2