Class ProcessArgument
java.lang.Object
org.eclipse.cdt.core.templateengine.process.ProcessArgument
ProcessArgument class responsible for constructing process Arguments by taking info from Template.
-
Constructor Summary
ConstructorDescriptionProcessArgument
(TemplateCore template, ProcessParameter param) Creates an external argument.ProcessArgument
(TemplateCore template, Element elem) constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
ProcessArgument[][]
Returns Process ArgumentsReturns Process ArgumentsReturns the First Non-expandable Macro.getName()
Returns Parameter name.byte
Returns the Parameter TypeString[]
Returns the Simple Array Values.Returns the Simple Value.boolean
Check for parameter type.boolean
Checks whether the process argument has resolved.void
resolve()
resolvetoString()
-
Constructor Details
-
ProcessArgument
constructor- Parameters:
template
-elem
-
-
ProcessArgument
Creates an external argument. This is not read from the template descriptor.- Parameters:
param
- The ProcessParameter whose replacement this argument is in the Process call
-
-
Method Details
-
getName
Returns Parameter name.- Returns:
- parameter name as String
-
getParameterType
public byte getParameterType()Returns the Parameter Type- Returns:
- the Parmeter Type as String
-
getSimpleValue
Returns the Simple Value.- Returns:
- String,
-
getSimpleArrayValue
Returns the Simple Array Values.- Returns:
- String Array.
-
getComplexValue
Returns Process Arguments -
getComplexArrayValue
Returns Process Arguments -
isOfParameterType
Check for parameter type.- Parameters:
param
-- Returns:
- boolean
-
areAllMacrosExpandable
public boolean areAllMacrosExpandable()- Returns:
- true if All macros are Expandable.
-
getFirstNonExpandableMacro
Returns the First Non-expandable Macro. -
getMacros
- Returns:
- the macros defined in the context of this argument
-
resolve
public void resolve()resolve -
isResolved
public boolean isResolved()Checks whether the process argument has resolved.- Returns:
- boolean, true if resolved.
-
toString
-