Class AbstractWorkflowBasedRunConfiguration

java.lang.Object
de.uka.ipd.sdq.workflow.configuration.AbstractJobConfiguration
de.uka.ipd.sdq.workflow.launchconfig.AbstractWorkflowBasedRunConfiguration
All Implemented Interfaces:
IJobConfiguration, Cloneable

public abstract class AbstractWorkflowBasedRunConfiguration extends AbstractJobConfiguration implements IJobConfiguration, Cloneable
An adapted job configuration with specifics for the Eclipse IDE - run mode (run or debug) - interactice - clonable Base class for all configurations used to configure an Eclipse based Workflow (or launch). which internally executes a sequence of jobs (compile, M2M Transforms, simulations, etc.)
  • Field Details

    • isInteractive

      protected boolean isInteractive
      The is interactive.
    • isDebug

      protected boolean isDebug
      The is debug.
  • Constructor Details

    • AbstractWorkflowBasedRunConfiguration

      public AbstractWorkflowBasedRunConfiguration()
      Constructor.
  • Method Details

    • isInteractive

      public boolean isInteractive()
      Returns whether the workflow engine runs in interactive mode. In non-interactive mode it throws an exception upon failing its task. In interactive mode it displays an error message to the user and logs the failure in the OSGi log. Non-interactive mode is useful for batch execution and unit testing. It is the default.
      Returns:
      Whether the workflow engine runs in interactive (UI-based) mode
    • setInteractive

      public void setInteractive(boolean isInteractive)
      Return whether the workflow runs in interactive mode, i.e., whether user interaction is possible.
      Parameters:
      isInteractive - Whether the workflow runs in interactive mode
    • isDebug

      public boolean isDebug()
      Is debug determines whether the run is executed as debug run. In debug mode, the run can be interrupted to inspect the state of the run. Debug mode can have an impact on all steps executed in a workflow.
      Returns:
      Whether the workflow runs in debug mode
    • setDebug

      public void setDebug(boolean isDebug)
      Set the isDebug property. Can only be called as long as the configuration is not validated and frozen.
      Parameters:
      isDebug - Whether debug is enabled or not
    • clone

      protected Object clone() throws CloneNotSupportedException
      Overrides:
      clone in class AbstractJobConfiguration
      Throws:
      CloneNotSupportedException