Class AbstractWorkflowConfigurationBuilder


  • public abstract class AbstractWorkflowConfigurationBuilder
    extends Object
    Bridge for workflow engine-based configurations of type AbstractWorkflowBasedRunConfiguration and eclipse launch configurations. Reads a workflow engine configuration and fills an eclipse launch configuration.
    • Field Detail

      • mode

        protected String mode
        The launch mode.
      • isDebug

        protected boolean isDebug
        debug mode.
      • properties

        protected Map<String,​Object> properties
        Mapped properties / attributes.
    • Constructor Detail

      • AbstractWorkflowConfigurationBuilder

        public AbstractWorkflowConfigurationBuilder​(ILaunchConfiguration configuration,
                                                    String mode)
                                             throws CoreException
        Instantiates a new abstract workflow configuration builder.
        Parameters:
        configuration - the configuration
        mode - the mode
        Throws:
        CoreException - the core exception
    • Method Detail

      • hasAttribute

        protected boolean hasAttribute​(String attribute)
                                throws CoreException
        Checks for attribute.
        Parameters:
        attribute - the attribute
        Returns:
        true, if successful
        Throws:
        CoreException - the core exception
      • hasStringAttribute

        protected boolean hasStringAttribute​(String attribute)
                                      throws CoreException
        Checks for string attribute.
        Parameters:
        attribute - the attribute
        Returns:
        true, if successful
        Throws:
        CoreException - the core exception
      • getStringAttribute

        protected String getStringAttribute​(String attribute)
                                     throws CoreException
        Gets the string attribute.
        Parameters:
        attribute - the attribute
        Returns:
        the string attribute
        Throws:
        CoreException - the core exception
      • getDoubleAttribute

        protected double getDoubleAttribute​(String attribute)
                                     throws CoreException
        Gets the double attribute.
        Parameters:
        attribute - the attribute
        Returns:
        the double attribute
        Throws:
        CoreException - the core exception
      • getIntegerAttribute

        protected int getIntegerAttribute​(String attribute)
                                   throws CoreException
        Gets the integer attribute.
        Parameters:
        attribute - the attribute
        Returns:
        the integer attribute
        Throws:
        CoreException - the core exception
      • getLongAttribute

        protected long getLongAttribute​(String attribute)
                                 throws CoreException
        Gets the long attribute.
        Parameters:
        attribute - the attribute
        Returns:
        the long attribute
        Throws:
        CoreException - the core exception
      • getBooleanAttribute

        protected Boolean getBooleanAttribute​(String attribute)
                                       throws CoreException
        Gets the boolean attribute.
        Parameters:
        attribute - the attribute
        Returns:
        the boolean attribute
        Throws:
        CoreException - the core exception