Class EglTask
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.eclipse.epsilon.workflow.tasks.EpsilonTask
org.eclipse.epsilon.workflow.tasks.ExecutableModuleTask
org.eclipse.epsilon.workflow.tasks.ExportableModuleTask
org.eclipse.epsilon.workflow.tasks.EglTask
- All Implemented Interfaces:
Cloneable
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.epsilon.workflow.tasks.ExecutableModuleTask
ExecutableModuleTask.ModuleProperty
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<EglDefaultFormatterNestedElement>
protected File
protected String
protected Class<? extends EglTemplateFactory>
protected Trace
Fields inherited from class org.eclipse.epsilon.workflow.tasks.ExportableModuleTask
exportAsModel
Fields inherited from class org.eclipse.epsilon.workflow.tasks.ExecutableModuleTask
assertions, code, exportsVariableNestedElements, fine, modelNestedElements, module, moduleImplementationClass, parameterNestedElements, result, setBeans, src, uri, usesVariableNestedElements
Fields inherited from class org.eclipse.epsilon.workflow.tasks.EpsilonTask
failOnErrors, failOnWarnings, profile
Fields inherited from class org.apache.tools.ant.Task
taskName, taskType, wrapper
Fields inherited from class org.apache.tools.ant.ProjectComponent
description, location, project
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected IEolModule
Create an alternative module instance from the provided qualified name of the module classprotected IEolModule
protected void
examine()
protected Collection<? extends Class<?>>
protected Collection<? extends Object>
Class<? extends EglTemplateFactory>
protected void
void
setOutputRoot
(File outputRoot) void
void
setTemplateFactoryType
(Class<? extends EglTemplateFactory> templateFactoryType) Methods inherited from class org.eclipse.epsilon.workflow.tasks.ExportableModuleTask
getExportAsModel, setExportAsModel, shouldExportAsModel
Methods inherited from class org.eclipse.epsilon.workflow.tasks.ExecutableModuleTask
addText, addVariables, configureModule, createExports, createModel, createModule, createModuleProperty, createParameter, createUses, executeImpl, exportVariable, getModuleImplementation, getSrc, getTaskName, getUri, isAssertions, isDebug, isFine, isGUI, isSetBeans, populateModelRepository, setAssertions, setDebug, setFine, setGUI, setModuleImplementation, setSetBeans, setSrc, setUri, useResults, useVariable
Methods inherited from class org.eclipse.epsilon.workflow.tasks.EpsilonTask
execute, fail, getActiveTransactions, getBaseDir, getExtendedProperties, getModelRepository, getProjectRepository, getProjectStackFrame, isFailOnErrors, isFailOnWarnings, isProfile, setFailOnErrors, setFailOnWarnings, setProfile, setProjectRepository, usesSharedModelRepository, warn
Methods inherited from class org.apache.tools.ant.Task
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
Methods inherited from class org.apache.tools.ant.ProjectComponent
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
-
Field Details
-
target
-
templateFactoryType
-
defaultFormatterNestedElements
-
trace
-
outputRoot
-
-
Constructor Details
-
EglTask
public EglTask()
-
-
Method Details
-
createDefaultModule
protected IEolModule createDefaultModule() throws InstantiationException, IllegalAccessException, IllegalArgumentException, InvocationTargetException, NoSuchMethodException, SecurityException -
createAlternativeModule
protected IEolModule createAlternativeModule() throws InstantiationException, IllegalAccessException, ClassNotFoundException, IllegalArgumentException, InvocationTargetException, NoSuchMethodException, SecurityExceptionDescription copied from class:ExecutableModuleTask
Create an alternative module instance from the provided qualified name of the module class- Overrides:
createAlternativeModule
in classExecutableModuleTask
- Returns:
- The instantiated and configured IEolModule.
- Throws:
InstantiationException
IllegalAccessException
ClassNotFoundException
IllegalArgumentException
InvocationTargetException
NoSuchMethodException
SecurityException
-
examine
- Overrides:
examine
in classExportableModuleTask
- Throws:
Exception
-
initialize
- Specified by:
initialize
in classExecutableModuleTask
- Throws:
Exception
-
getTarget
-
setTarget
-
getOutputRoot
-
setOutputRoot
-
getTemplateFactoryType
-
setTemplateFactoryType
-
createDefaultFormatter
-
getClassesForExportedModel
- Specified by:
getClassesForExportedModel
in classExportableModuleTask
-
getObjectsForExportedModel
- Specified by:
getObjectsForExportedModel
in classExportableModuleTask
-