Class InvocableComponent
java.lang.Object
com.suncode.pwfl.component.ComponentDefinition
com.suncode.pwfl.workflow.component.WorkflowComponent
com.suncode.pwfl.workflow.component.InvocableComponent
- Direct Known Subclasses:
Application
,DataChooser
,InvocableDataSource
,ScheduledTask
,Validator
,VariableSetter
Component with invocable method.
- Author:
- RafaĆ Nowacki 13 cze 2016
-
Constructor Summary
ConstructorsConstructorDescriptionInvocableComponent
(ComponentDefinition definition, Method method, Object instance) -
Method Summary
Modifier and TypeMethodDescriptionClass<?>
protected InvocableMethod
abstract void
invoke
(Parameters parameters, ActivityContextMap activityContextMap, ContextVariables contextVariables) Invokes this component with given parameters.protected void
invoke
(Parameters parameters, Object... instances) protected Object
invokeWithResult
(Parameters parameters, Object... instances) toString()
Methods inherited from class com.suncode.pwfl.component.ComponentDefinition
equals, getCategories, getContextVariables, getDeprecationDescription, getDescription, getDocumentationLink, getIcon, getId, getName, getParameter, getParameters, getSource, hashCode, isDeprecated, setDeprecated, setSource
-
Constructor Details
-
InvocableComponent
-
-
Method Details
-
invoke
public abstract void invoke(Parameters parameters, ActivityContextMap activityContextMap, ContextVariables contextVariables) Invokes this component with given parameters.- Parameters:
parameters
- parametersactivityContextMap
- Variables context from activity
-
invoke
-
invokeWithResult
-
getDeclaringClass
- Returns:
- Component declaring class
-
getInvocableMethod
-
toString
-