Class Process


  • public class Process
    extends Object
    This class contains methods to get first process block element, next process block element and checks for next process block element.
    • Constructor Detail

      • Process

        public Process​(TemplateCore template,
                       Element element,
                       String id)
        Constructor to create a process.
        Parameters:
        template -
        element -
        id -
    • Method Detail

      • isReadyToProcess

        public boolean isReadyToProcess()
        Returns:
        boolean, true if the Process is Ready.
      • process

        public org.eclipse.core.runtime.IStatus process​(org.eclipse.core.runtime.IProgressMonitor monitor)
                                                 throws ProcessFailureException
        Executes this process
        Parameters:
        monitor -
        Returns:
        the result of executing this process
        Throws:
        ProcessFailureException
      • getMacros

        public Set<String> getMacros()
        Returns:
        the macros defined in the context of this process