Class ProcessRunner
java.lang.Object
org.eclipse.cdt.core.templateengine.process.ProcessRunner
- Direct Known Subclasses:
AddFile,AddFiles,AddLink,AddNature,Append,AppendCreate,Copy,CreateFolder,CreateResourceIdentifier,CreateSourceFolder,SetEnvironmentVariable
Abstract ProcessRunner class provides the methods to implement for processes.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected final booleanChecks the whether the arguments are matching the required parameters.Return the String containing the mismatching message if the arguments are not matching the required parameters.protected final StringgetProcessMessage(String processId, int code, String msg) Returns the process message based on the parameters.Returns the Process Parameters.protected ProcessFailureExceptionmissingArgException(String processId, String varname) abstract voidprocess(TemplateCore template, ProcessArgument[] args, String processId, org.eclipse.core.runtime.IProgressMonitor monitor)
-
Constructor Details
-
ProcessRunner
public ProcessRunner()
-
-
Method Details
-
getProcessParameters
Returns the Process Parameters. -
missingArgException
- Since:
- 5.6
-
areArgumentsMatchingRequiredParameters
Checks the whether the arguments are matching the required parameters. -
getArgumentsMismatchMessage
Return the String containing the mismatching message if the arguments are not matching the required parameters. -
getProcessMessage
Returns the process message based on the parameters. -
process
public abstract void process(TemplateCore template, ProcessArgument[] args, String processId, org.eclipse.core.runtime.IProgressMonitor monitor) throws ProcessFailureException - Parameters:
template-args-processId-- Throws:
ProcessFailureException
-