java.lang.Object
org.eclipse.cdt.core.templateengine.process.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.
  • Field Details

  • Constructor Details

    • Process

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

    • 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
    • toString

      public String toString()
      Overrides:
      toString in class Object