Class LoadModelTask
- java.lang.Object
-
- org.apache.tools.ant.ProjectComponent
-
- org.apache.tools.ant.Task
-
- org.eclipse.epsilon.workflow.tasks.EpsilonTask
-
- org.eclipse.epsilon.workflow.tasks.LoadModelTask
-
- All Implemented Interfaces:
java.lang.Cloneable
- Direct Known Subclasses:
LoadModelTaskTests.LoadModelTaskWithSpy
public class LoadModelTask extends EpsilonTask
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
config
protected java.lang.String
impl
protected java.lang.String
name
protected java.util.ArrayList<ParameterNestedElement>
parameterNestedElements
protected java.lang.String
type
-
Fields inherited from class org.eclipse.epsilon.workflow.tasks.EpsilonTask
failOnErrors, failOnWarnings, profile
-
-
Constructor Summary
Constructors Constructor Description LoadModelTask()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected IModel
createModel(java.lang.String type)
ParameterNestedElement
createParameter()
void
executeImpl()
java.lang.String
getConfig()
java.lang.String
getImpl()
java.lang.String
getName()
protected StringProperties
getStringProperties()
java.lang.String
getType()
void
setConfig(java.lang.String config)
void
setImpl(java.lang.String impl)
void
setName(java.lang.String name)
void
setType(java.lang.String type)
-
Methods inherited from class org.eclipse.epsilon.workflow.tasks.EpsilonTask
execute, fail, getActiveTransactions, getBaseDir, getExtendedProperties, getProjectRepository, getProjectStackFrame, isFailOnErrors, isFailOnWarnings, isProfile, setFailOnErrors, setFailOnWarnings, setProfile, setProjectRepository, warn
-
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
-
-
-
-
Field Detail
-
name
protected java.lang.String name
-
type
protected java.lang.String type
-
impl
protected java.lang.String impl
-
config
protected java.lang.String config
-
parameterNestedElements
protected java.util.ArrayList<ParameterNestedElement> parameterNestedElements
-
-
Method Detail
-
executeImpl
public void executeImpl() throws org.apache.tools.ant.BuildException
- Specified by:
executeImpl
in classEpsilonTask
- Throws:
org.apache.tools.ant.BuildException
-
getImpl
public java.lang.String getImpl()
-
setImpl
public void setImpl(java.lang.String impl)
-
getStringProperties
protected StringProperties getStringProperties()
-
getType
public java.lang.String getType()
-
setType
public void setType(java.lang.String type)
-
getConfig
public java.lang.String getConfig()
-
setConfig
public void setConfig(java.lang.String config)
-
getName
public java.lang.String getName()
-
setName
public void setName(java.lang.String name)
-
createParameter
public ParameterNestedElement createParameter()
-
createModel
protected IModel createModel(java.lang.String type) throws org.apache.tools.ant.BuildException
- Throws:
org.apache.tools.ant.BuildException
-
-