Class EUnitTask.RunTargetOperationContributor
- java.lang.Object
-
- org.eclipse.epsilon.eol.execute.operations.contributors.OperationContributor
-
- org.eclipse.epsilon.workflow.tasks.EUnitTask.RunTargetOperationContributor
-
- All Implemented Interfaces:
AutoCloseable
- Enclosing class:
- EUnitTask
public class EUnitTask.RunTargetOperationContributor extends OperationContributor
-
-
Field Summary
-
Fields inherited from class org.eclipse.epsilon.eol.execute.operations.contributors.OperationContributor
cachedMethodNames
-
-
Constructor Summary
Constructors Constructor Description RunTargetOperationContributor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
contributesTo(Object target)
void
exportVariable(String varName)
EUnit-specific operation which is equivalent to the "exports" nested element.void
loadHutn(String modelName, String hutnContent)
EUnit-specific operation for loading models inside the .eunit file from HUTN fragments.void
runTarget(String targetName)
Operation which can call a series of Ant tasks described inside a "script" nested element of this Ant task.void
useVariable(String varName)
EUnit-specific operation which is equivalent to the "imports" nested element.-
Methods inherited from class org.eclipse.epsilon.eol.execute.operations.contributors.OperationContributor
close, findContributedMethodForEvaluatedParameters, findContributedMethodForEvaluatedParameters, findContributedMethodForUnevaluatedParameters, getContext, getReflectionTarget, getTarget, includeInheritedMethods, setContext, setTarget
-
-
-
-
Method Detail
-
contributesTo
public boolean contributesTo(Object target)
- Specified by:
contributesTo
in classOperationContributor
-
runTarget
public void runTarget(String targetName) throws EolRuntimeException
Operation which can call a series of Ant tasks described inside a "script" nested element of this Ant task.- Throws:
EolRuntimeException
-
exportVariable
public void exportVariable(String varName)
EUnit-specific operation which is equivalent to the "exports" nested element.
-
useVariable
public void useVariable(String varName)
EUnit-specific operation which is equivalent to the "imports" nested element.
-
loadHutn
public void loadHutn(String modelName, String hutnContent) throws EolModelLoadingException
EUnit-specific operation for loading models inside the .eunit file from HUTN fragments.- Throws:
EolModelLoadingException
-
-