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 boolean
Checks 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 String
getProcessMessage
(String processId, int code, String msg) Returns the process message based on the parameters.Returns the Process Parameters.protected ProcessFailureException
missingArgException
(String processId, String varname) abstract void
process
(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
-