Class Process
- java.lang.Object
-
- org.eclipse.cdt.core.templateengine.process.Process
-
public class Process extends java.lang.ObjectThis class contains methods to get first process block element, next process block element and checks for next process block element.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringELEM_TYPE
-
Constructor Summary
Constructors Constructor Description Process(TemplateCore template, org.w3c.dom.Element element, java.lang.String id)Constructor to create a process.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Set<java.lang.String>getMacros()booleanisReadyToProcess()org.eclipse.core.runtime.IStatusprocess(org.eclipse.core.runtime.IProgressMonitor monitor)Executes this processjava.lang.StringtoString()
-
-
-
Field Detail
-
ELEM_TYPE
public static final java.lang.String ELEM_TYPE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Process
public Process(TemplateCore template, org.w3c.dom.Element element, java.lang.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 ProcessFailureExceptionExecutes this process- Parameters:
monitor-- Returns:
- the result of executing this process
- Throws:
ProcessFailureException
-
getMacros
public java.util.Set<java.lang.String> getMacros()
- Returns:
- the macros defined in the context of this process
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-