Class EpsilonTask
- java.lang.Object
-
- org.apache.tools.ant.ProjectComponent
-
- org.apache.tools.ant.Task
-
- org.eclipse.epsilon.workflow.tasks.EpsilonTask
-
- All Implemented Interfaces:
java.lang.Cloneable
- Direct Known Subclasses:
AbstractLoadModelTask
,DisposeModelsTask
,DisposeModelTask
,EugeniaTask
,ExecutableModuleTask
,RegisterTask
,RegisterTaskStandalone
,RemoveActiveTransactionTask
,StartTransactionTask
,StoreModelTask
public abstract class EpsilonTask extends org.apache.tools.ant.Task
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
failOnErrors
protected boolean
failOnWarnings
protected boolean
profile
-
Constructor Summary
Constructors Constructor Description EpsilonTask()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
execute()
abstract void
executeImpl()
protected void
fail(java.lang.String message, java.lang.Exception exception)
protected java.util.List<NamedTransactionSupport>
getActiveTransactions()
protected java.io.File
getBaseDir()
protected ExtendedProperties
getExtendedProperties()
ModelRepository
getModelRepository(org.apache.tools.ant.Project project)
protected ModelRepository
getProjectRepository()
protected Frame
getProjectStackFrame()
boolean
isFailOnErrors()
boolean
isFailOnWarnings()
boolean
isProfile()
void
setFailOnErrors(boolean failOnErrors)
void
setFailOnWarnings(boolean failOnWarnings)
void
setProfile(boolean profile)
protected void
setProjectRepository(ModelRepository repository)
boolean
usesSharedModelRepository(org.apache.tools.ant.Project project)
protected void
warn(java.lang.String message)
-
Methods inherited from class org.apache.tools.ant.Task
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
-
-
-
-
Method Detail
-
execute
public final void execute() throws org.apache.tools.ant.BuildException
- Overrides:
execute
in classorg.apache.tools.ant.Task
- Throws:
org.apache.tools.ant.BuildException
-
executeImpl
public abstract void executeImpl() throws org.apache.tools.ant.BuildException
- Throws:
org.apache.tools.ant.BuildException
-
fail
protected void fail(java.lang.String message, java.lang.Exception exception) throws org.apache.tools.ant.BuildException
- Throws:
org.apache.tools.ant.BuildException
-
warn
protected void warn(java.lang.String message) throws org.apache.tools.ant.BuildException
- Throws:
org.apache.tools.ant.BuildException
-
getExtendedProperties
protected ExtendedProperties getExtendedProperties()
-
getProjectRepository
protected ModelRepository getProjectRepository()
-
setProjectRepository
protected void setProjectRepository(ModelRepository repository)
-
getActiveTransactions
protected java.util.List<NamedTransactionSupport> getActiveTransactions()
-
getProjectStackFrame
protected Frame getProjectStackFrame()
-
getBaseDir
protected java.io.File getBaseDir()
-
isProfile
public boolean isProfile()
-
setProfile
public void setProfile(boolean profile)
-
isFailOnErrors
public boolean isFailOnErrors()
-
setFailOnErrors
public void setFailOnErrors(boolean failOnErrors)
-
isFailOnWarnings
public boolean isFailOnWarnings()
-
setFailOnWarnings
public void setFailOnWarnings(boolean failOnWarnings)
-
usesSharedModelRepository
public boolean usesSharedModelRepository(org.apache.tools.ant.Project project)
-
getModelRepository
public ModelRepository getModelRepository(org.apache.tools.ant.Project project)
-
-