public abstract class ProcessRunner extends Object
Constructor and Description |
---|
ProcessRunner() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
areArgumentsMatchingRequiredParameters(ProcessArgument[] args)
Checks the whether the arguments are matching the required parameters.
|
String |
getArgumentsMismatchMessage(ProcessArgument[] args)
Return the String containing the mismatching message
if the arguments are not matching the required parameters.
|
protected String |
getProcessMessage(String processId,
int code,
String msg)
Returns the process message based on the parameters.
|
ProcessParameter[] |
getProcessParameters()
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) |
public ProcessParameter[] getProcessParameters()
protected ProcessFailureException missingArgException(String processId, String varname)
protected final boolean areArgumentsMatchingRequiredParameters(ProcessArgument[] args)
public String getArgumentsMismatchMessage(ProcessArgument[] args)
protected final String getProcessMessage(String processId, int code, String msg)
public abstract void process(TemplateCore template, ProcessArgument[] args, String processId, org.eclipse.core.runtime.IProgressMonitor monitor) throws ProcessFailureException
template
- args
- processId
- ProcessFailureException
Copyright (c) IBM Corp. and others 2004, 2020. All Rights Reserved.