Package org.onehippo.repository.events
Class HippoWorkflowEvent<T extends HippoWorkflowEvent<T>>
- java.lang.Object
-
- org.onehippo.cms7.event.HippoEvent<T>
-
- org.onehippo.repository.events.HippoWorkflowEvent<T>
-
- All Implemented Interfaces:
Cloneable
public class HippoWorkflowEvent<T extends HippoWorkflowEvent<T>> extends HippoEvent<T>
-
-
Constructor Summary
Constructors Constructor Description HippoWorkflowEvent()
HippoWorkflowEvent(HippoEvent event)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description List<String>
arguments()
The arguments passed to the workflow invocationT
arguments(List<String> arguments)
String
className()
The name of the workflow classT
className(String className)
String
documentPath()
Deprecated.usesubjectPath()
insteadT
documentPath(String documentPath)
Deprecated.usesubjectId(String)
insteadString
documentType()
The type of document the workflow was called on, if anyT
documentType(String documentType)
Throwable
exception()
The exception if any occurred during the invocation of the workflowT
exception(Throwable e)
String
handleUuid()
Deprecated.usesubjectId()
insteadT
handleUuid(String handleUuid)
Deprecated.usesubjectId(String)
insteadString
interaction()
The value of the interaction property is a combination of the category, name, and action of the root invocation of the invocation hierarchy.T
interaction(String interaction)
String
interactionId()
A workflow invocation can result in nested workflow invocations if the workflow action in turn invokes another workflow.T
interactionId(String interactionId)
String
methodName()
Deprecated.useHippoEvent.action()
insteadT
methodName(String methodName)
Deprecated.useHippoEvent.action(String)
insteadString
returnType()
The java type of the object returned by the workflow action, if anyT
returnType(String returnType)
String
returnValue()
The value returned by the workflow action, if anyT
returnValue(String returnValue)
String
subjectId()
The JCR node identifier of the workflow subjectT
subjectId(String subjectId)
String
subjectPath()
The JCR node path of the workflow subjectT
subjectPath(String subjectPath)
Boolean
success()
Whether the workflow invocation was successfulString
workflowCategory()
The workflow categoryT
workflowCategory(String category)
String
workflowName()
The workflow nameT
workflowName(String workflowName)
-
-
-
Constructor Detail
-
HippoWorkflowEvent
public HippoWorkflowEvent()
-
HippoWorkflowEvent
public HippoWorkflowEvent(HippoEvent event)
-
-
Method Detail
-
className
public String className()
The name of the workflow class
-
methodName
@Deprecated public String methodName()
Deprecated.useHippoEvent.action()
instead
-
methodName
@Deprecated public T methodName(String methodName)
Deprecated.useHippoEvent.action(String)
instead
-
subjectId
public String subjectId()
The JCR node identifier of the workflow subject
-
handleUuid
@Deprecated public String handleUuid()
Deprecated.usesubjectId()
instead
-
handleUuid
@Deprecated public T handleUuid(String handleUuid)
Deprecated.usesubjectId(String)
instead
-
returnType
public String returnType()
The java type of the object returned by the workflow action, if any
-
returnValue
public String returnValue()
The value returned by the workflow action, if any
-
subjectPath
public String subjectPath()
The JCR node path of the workflow subject
-
documentPath
@Deprecated public String documentPath()
Deprecated.usesubjectPath()
instead
-
documentPath
@Deprecated public T documentPath(String documentPath)
Deprecated.usesubjectId(String)
instead
-
interactionId
public String interactionId()
A workflow invocation can result in nested workflow invocations if the workflow action in turn invokes another workflow. In this case these workflow actions have the same interaction id in order to identify them as part of the same user-level workflow action.
-
interaction
public String interaction()
The value of the interaction property is a combination of the category, name, and action of the root invocation of the invocation hierarchy.
-
workflowCategory
public String workflowCategory()
The workflow category
-
workflowName
public String workflowName()
The workflow name
-
exception
public Throwable exception()
The exception if any occurred during the invocation of the workflow
-
success
public Boolean success()
Whether the workflow invocation was successful
-
documentType
public String documentType()
The type of document the workflow was called on, if any
-
-