KIE API 6.1.0.CR2

org.kie.api.builder.model
Interface WorkItemHandlerModel


public interface WorkItemHandlerModel

WorkItemHandlerModel is a model allowing to programmatically define a WorkItemHandler and wire it to a KieSession


Method Summary
 String getName()
          Returns the name of the work item that the handler is for
 QualifierModel getQualifierModel()
           
 String getType()
          Returns the type of this WorkItemHandlerModel (i.e. the name of the class implementing the WorkItemHandler)
 QualifierModel newQualifierModel(String type)
           
 

Method Detail

getName

String getName()
Returns the name of the work item that the handler is for

Returns:

getType

String getType()
Returns the type of this WorkItemHandlerModel (i.e. the name of the class implementing the WorkItemHandler)


getQualifierModel

QualifierModel getQualifierModel()

newQualifierModel

QualifierModel newQualifierModel(String type)

KIE API 6.1.0.CR2

Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.