Class IxBrokerWorkflowAction
- java.lang.Object
-
- de.uplanet.lucy.server.workflow.action.AbstractWorkflowAction
-
- de.uplanet.lucy.server.broker.workflow.action.IxBrokerWorkflowAction
-
- All Implemented Interfaces:
IActivatableWorkflowObject
,INamedWorkflowObject
,INeedWorkflow
,IWorkflowAction
,IWorkflowObject
,Serializable
public final class IxBrokerWorkflowAction extends AbstractWorkflowAction
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface de.uplanet.lucy.server.workflow.IWorkflowObject
GUID_COMPARATOR
-
-
Constructor Summary
Constructors Constructor Description IxBrokerWorkflowAction(String p_strGuid)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
getOnlyPushOnChange()
String
getTopic()
Get the topic name.String
getTopicContextVariableName()
Get the name of a context variable that contains the topic name.WorkflowTransition
process(IWorkflowEvent p_evt, de.uplanet.lucy.server.workflow.IWorkflowProcessingContext p_wfCtx, de.uplanet.lucy.server.IProcessingContext p_ctx)
Process a workflow event in the given context.void
setOnlyPushOnChange(boolean p_bOnlyPushOnChange)
void
setTopic(String p_strTopic)
Set the topic namevoid
setTopicContextVariableName(String p_strContextVariableName)
Set the name of a context variable that contains the topic name.-
Methods inherited from class de.uplanet.lucy.server.workflow.action.AbstractWorkflowAction
getAfferentTransition, getEfferentTransition, getGuid, getName, getWorkflow, isActive, setActive, setAfferentTransition, setEfferentTransition, setName, setWorkflow, toString
-
-
-
-
Constructor Detail
-
IxBrokerWorkflowAction
public IxBrokerWorkflowAction(String p_strGuid)
-
-
Method Detail
-
setTopic
public void setTopic(String p_strTopic)
Set the topic name- Parameters:
p_strTopic
- The topic name.
-
getTopic
public String getTopic()
Get the topic name.- Returns:
- The topic name.
-
getTopicContextVariableName
public String getTopicContextVariableName()
Get the name of a context variable that contains the topic name.- Returns:
- The name of a context variable that contains the topic name.
-
setTopicContextVariableName
public void setTopicContextVariableName(String p_strContextVariableName)
Set the name of a context variable that contains the topic name.- Parameters:
p_strContextVariableName
- The name of a context variable that contains the topic name.
-
getOnlyPushOnChange
public boolean getOnlyPushOnChange()
-
setOnlyPushOnChange
public void setOnlyPushOnChange(boolean p_bOnlyPushOnChange)
-
process
public WorkflowTransition process(IWorkflowEvent p_evt, de.uplanet.lucy.server.workflow.IWorkflowProcessingContext p_wfCtx, de.uplanet.lucy.server.IProcessingContext p_ctx) throws WorkflowException, de.uplanet.util.InvalidPropertyException
Description copied from interface:IWorkflowAction
Process a workflow event in the given context.Normally, a workflow action should return its efferent transition, regardless whether it is
active
, or not.- Parameters:
p_evt
- The event to be processed.p_wfCtx
- The workflow processing context.p_ctx
- The processing context.- Returns:
- The efferent transition, or
null
. - Throws:
WorkflowException
de.uplanet.util.InvalidPropertyException
-
-