com.day.cq.workflow.impl.advance
Class AndSplitNodeHandler
java.lang.Object
com.day.cq.workflow.impl.advance.AdvanceHandlerBase
com.day.cq.workflow.impl.advance.AndSplitNodeHandler
- All Implemented Interfaces:
- AdvanceHandler
public class AndSplitNodeHandler
- extends AdvanceHandlerBase
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TYPE
public static final String TYPE
- See Also:
- Constant Field Values
PROCESS_FROM
public static final String PROCESS_FROM
- See Also:
- Constant Field Values
AndSplitNodeHandler
public AndSplitNodeHandler()
- Default constructor for running inside OSGI. In case this constructor is
used the instance must be initialized through SCR integration.
AndSplitNodeHandler
public AndSplitNodeHandler(Dictionary<String,Object> config,
Session admin)
- Initializes all necessary dependencies to run the handler in non-OSGI
environments.
doTransition
public void doTransition(WorkItem item,
WorkflowTransition destination,
WorkflowSession session,
boolean checkFrom)
throws WorkflowException
- Throws:
WorkflowException- See Also:
AdvanceHandler.doTransition(com.day.cq.workflow.exec.WorkItem,
com.day.cq.workflow.model.WorkflowTransition,
com.day.cq.workflow.WorkflowSession, boolean)
getType
public String getType()
- Description copied from interface:
AdvanceHandler
- Returns the type of
WorkflowNodes that can be advanced to
by the handler implementation.
- Returns:
- The type of
WorkflowNodes that can be handled. - See Also:
AdvanceHandler.getType()
canHandleFromNodes
public boolean canHandleFromNodes()
- Description copied from interface:
AdvanceHandler
- Indicates if the handler is able to process from nodes, too.
- Returns:
- True if from nodes can be processed, otherwise false.
- See Also:
AdvanceHandler.canHandleFromNodes()
activate
protected void activate(org.osgi.service.component.ComponentContext context)
throws Exception
- Overrides:
activate in class AdvanceHandlerBase
- Throws:
Exception
Copyright © 2008 Day Management AG. All Rights Reserved.