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 Fileprotected Stringprotected Class<? extends EglTemplateFactory>protected TraceFields inherited from class org.eclipse.epsilon.workflow.tasks.ExportableModuleTask
exportAsModelFields inherited from class org.eclipse.epsilon.workflow.tasks.ExecutableModuleTask
assertions, code, debugPort, exportsVariableNestedElements, fine, modelNestedElements, module, moduleImplementationClass, parameterNestedElements, result, setBeans, src, uri, usesVariableNestedElementsFields inherited from class org.eclipse.epsilon.workflow.tasks.EpsilonTask
failOnErrors, failOnWarnings, profileFields inherited from class org.apache.tools.ant.Task
taskName, taskType, wrapperFields inherited from class org.apache.tools.ant.ProjectComponent
description, location, project -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected IEolModuleCreate an alternative module instance from the provided qualified name of the module classprotected IEolModuleprotected EglTemplateFactoryprotected voidexamine()protected Collection<? extends Class<?>>protected Collection<? extends Object>Class<? extends EglTemplateFactory>protected voidvoidsetOutputRoot(File outputRoot) voidvoidsetTemplateFactoryType(Class<? extends EglTemplateFactory> templateFactoryType) Methods inherited from class org.eclipse.epsilon.workflow.tasks.ExportableModuleTask
getExportAsModel, setExportAsModel, shouldExportAsModelMethods inherited from class org.eclipse.epsilon.workflow.tasks.ExecutableModuleTask
addText, addVariables, configureModule, createExports, createModel, createModule, createModuleProperty, createParameter, createUses, executeImpl, exportVariable, getDebugPort, getModuleImplementation, getSrc, getTaskName, getUri, isAssertions, isDebug, isFine, isGUI, isSetBeans, populateModelRepository, setAssertions, setDebug, setDebugPort, setFine, setGUI, setModuleImplementation, setSetBeans, setSrc, setUri, useResults, useVariableMethods inherited from class org.eclipse.epsilon.workflow.tasks.EpsilonTask
execute, fail, getActiveTransactions, getBaseDir, getDebugSession, getExtendedProperties, getModelRepository, getProjectRepository, getProjectStackFrame, isFailOnErrors, isFailOnWarnings, isProfile, setDebugSession, setFailOnErrors, setFailOnWarnings, setProfile, setProjectRepository, usesSharedModelRepository, warnMethods 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, setTaskTypeMethods 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 -
createDefaultTemplateFactory
protected EglTemplateFactory createDefaultTemplateFactory() throws InstantiationException, IllegalAccessException, IllegalArgumentException, InvocationTargetException, NoSuchMethodException, SecurityException -
createAlternativeModule
protected IEolModule createAlternativeModule() throws InstantiationException, IllegalAccessException, ClassNotFoundException, IllegalArgumentException, InvocationTargetException, NoSuchMethodException, SecurityExceptionDescription copied from class:ExecutableModuleTaskCreate an alternative module instance from the provided qualified name of the module class- Overrides:
createAlternativeModulein classExecutableModuleTask- Returns:
- The instantiated and configured IEolModule.
- Throws:
InstantiationExceptionIllegalAccessExceptionClassNotFoundExceptionIllegalArgumentExceptionInvocationTargetExceptionNoSuchMethodExceptionSecurityException
-
examine
- Overrides:
examinein classExportableModuleTask- Throws:
Exception
-
initialize
- Specified by:
initializein classExecutableModuleTask- Throws:
Exception
-
getTarget
-
setTarget
-
getOutputRoot
-
setOutputRoot
-
getTemplateFactoryType
-
setTemplateFactoryType
-
createDefaultFormatter
-
getClassesForExportedModel
- Specified by:
getClassesForExportedModelin classExportableModuleTask
-
getObjectsForExportedModel
- Specified by:
getObjectsForExportedModelin classExportableModuleTask
-