Package org.kie.api.runtime.conf
Class WorkItemHandlerOption
java.lang.Object
org.kie.api.runtime.conf.WorkItemHandlerOption
- All Implemented Interfaces:
Serializable,MultiValueOption,Option,KieSessionOption,MultiValueKieSessionOption
WorkItemHandlers configuration option
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe prefix for the property name for work item handlersFields inherited from interface org.kie.api.runtime.conf.KieSessionOption
TYPE -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic WorkItemHandlerOptionget(String name, WorkItemHandler handler) This is a factory method for this WorkItemHandler configuration.getName()inthashCode()toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.kie.api.runtime.conf.KieSessionOption
typeMethods inherited from interface org.kie.api.conf.Option
propertyName
-
Field Details
-
PROPERTY_NAME
The prefix for the property name for work item handlers- See Also:
-
-
Method Details
-
get
This is a factory method for this WorkItemHandler configuration. The factory method is a best practice for the case where the actual object construction is changed in the future.- Parameters:
name- the name of the work item handler to be configured- Returns:
- the actual type safe work item handler configuration.
-
getPropertyName
- Specified by:
getPropertyNamein interfaceOption- Returns:
- the property name for this option
-
getName
- Returns:
- the name of the configured work item handler
-
getHandler
- Returns:
- the work item handler instance
-
toString
-
hashCode
public int hashCode() -
equals
-