Package test.res
Class Component
java.lang.Object
test.res.Component
- All Implemented Interfaces:
WorkflowComponent
- Direct Known Subclasses:
SubComponent
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
checkConfiguration
(Issues issues) Called by the container after configuration so the component can validate the configuration before invocation.Returns the name of the component.Returns the containing component if there is one.Returns the location in the source file that invokes the current component.void
invoke
(WorkflowContext model, ProgressMonitor monitor, Issues issues) Invokes the component.void
void
void
setBooleanObjectParam
(Boolean booleanObjectParam) void
setBooleanParam
(boolean booleanParam) void
setContainer
(CompositeComponent container) Sets the containing component.void
setIntegerParam
(Integer integerParam) void
setIntParam
(int intParam) void
setLocation
(Location location) Sets the location in the source file that invokes the current component.void
setStringArrayParam
(String[] stringArrayParam) void
setStringParam
(String stringParam) void
-
Field Details
-
booleanParam
public boolean booleanParam -
booleanObjectParam
-
intParam
public int intParam -
integerParam
-
stringParam
-
stringArrayParam
-
type
-
types
-
map
-
bean
-
INVOCATIONS
public static int INVOCATIONS -
invocations
public int invocations -
CHECKS
public static int CHECKS -
checks
public int checks
-
-
Constructor Details
-
Component
public Component()
-
-
Method Details
-
setBooleanParam
public void setBooleanParam(boolean booleanParam) -
setBooleanObjectParam
-
setIntParam
public void setIntParam(int intParam) -
setIntegerParam
-
setStringParam
-
setStringArrayParam
-
setType
-
addTypes
-
put
-
setBean
-
invoke
Description copied from interface:WorkflowComponent
Invokes the component.- Specified by:
invoke
in interfaceWorkflowComponent
- Parameters:
model
- current workflow contextmonitor
- implementors should provide some feedback about the progress using this monitor
-
checkConfiguration
Description copied from interface:WorkflowComponent
Called by the container after configuration so the component can validate the configuration before invocation.- Specified by:
checkConfiguration
in interfaceWorkflowComponent
- Parameters:
issues
- implementors should report configuration issues to this.
-
getContainer
Description copied from interface:WorkflowComponent
Returns the containing component if there is one.- Specified by:
getContainer
in interfaceWorkflowComponent
- Returns:
- the containing component
-
setContainer
Description copied from interface:WorkflowComponent
Sets the containing component.- Specified by:
setContainer
in interfaceWorkflowComponent
- Parameters:
container
- the containing component
-
getLocation
Description copied from interface:WorkflowComponent
Returns the location in the source file that invokes the current component.- Specified by:
getLocation
in interfaceWorkflowComponent
- Returns:
- the location
-
setLocation
Description copied from interface:WorkflowComponent
Sets the location in the source file that invokes the current component.- Specified by:
setLocation
in interfaceWorkflowComponent
- Parameters:
location
- the location
-
getComponentName
Description copied from interface:WorkflowComponent
Returns the name of the component.- Specified by:
getComponentName
in interfaceWorkflowComponent
- Returns:
- the component name
-