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
  • Constructor Details

    • RunTargetOperationContributor

      public RunTargetOperationContributor()
  • Method Details

    • contributesTo

      public boolean contributesTo(Object target)
      Specified by:
      contributesTo in class OperationContributor
    • 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