Codota Logo
JpdlXmlReader.addAction
Code IndexAdd Codota to your IDE (free)

How to use
addAction
method
in
org.jbpm.jpdl.xml.JpdlXmlReader

Best Java code snippets using org.jbpm.jpdl.xml.JpdlXmlReader.addAction (Showing top 8 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
List l =
  • Codota Iconnew LinkedList()
  • Codota IconCollections.emptyList()
  • Codota Iconnew ArrayList()
  • Smart code suggestions by Codota
}
origin: org.jbpm.jbpm3/jbpm-jpdl

/** Reads actions associated to the given event. */
public void readActions(Element eventElement, GraphElement graphElement, String eventType) {
 // for all the elements in the event element
 for (Iterator iter = eventElement.elementIterator(); iter.hasNext();) {
  Element actionElement = (Element) iter.next();
  if (ActionTypes.hasActionName(actionElement.getName())) {
   Action action = createAction(actionElement);
   if (graphElement != null && eventType != null) {
    // add the action to the event
    addAction(graphElement, eventType, action);
   }
  }
 }
}
origin: com.github.albfernandez/jbpm-jpdl

/** Reads actions associated to the given event. */
public void readActions(Element eventElement, GraphElement graphElement, String eventType) {
 // for all the elements in the event element
 for (Iterator iter = eventElement.elementIterator(); iter.hasNext();) {
  Element actionElement = (Element) iter.next();
  if (ActionTypes.hasActionName(actionElement.getName())) {
   Action action = createAction(actionElement);
   if (graphElement != null && eventType != null) {
    // add the action to the event
    addAction(graphElement, eventType, action);
   }
  }
 }
}
origin: com.github.albfernandez/jbpm-jpdl

protected void readNodeTimer(Element timerElement, Node node) {
 String name = timerElement.attributeValue("name", node.getName());
 if (name == null) name = generateTimerName();
 CreateTimerAction createTimerAction = new CreateTimerAction();
 createTimerAction.read(timerElement, this);
 createTimerAction.setTimerName(name);
 createTimerAction.setTimerAction(readSingleAction(timerElement));
 addAction(node, Event.EVENTTYPE_NODE_ENTER, createTimerAction);
 CancelTimerAction cancelTimerAction = new CancelTimerAction();
 cancelTimerAction.setTimerName(name);
 addAction(node, Event.EVENTTYPE_NODE_LEAVE, cancelTimerAction);
}
origin: org.jbpm.jbpm3/jbpm-jpdl

protected void readNodeTimer(Element timerElement, Node node) {
 String name = timerElement.attributeValue("name", node.getName());
 if (name == null) name = generateTimerName();
 CreateTimerAction createTimerAction = new CreateTimerAction();
 createTimerAction.read(timerElement, this);
 createTimerAction.setTimerName(name);
 createTimerAction.setTimerAction(readSingleAction(timerElement));
 addAction(node, Event.EVENTTYPE_NODE_ENTER, createTimerAction);
 CancelTimerAction cancelTimerAction = new CancelTimerAction();
 cancelTimerAction.setTimerName(name);
 addAction(node, Event.EVENTTYPE_NODE_LEAVE, cancelTimerAction);
}
origin: com.github.albfernandez/jbpm-jpdl

addAction(task, Event.EVENTTYPE_TASK_CREATE, createTimerAction);
   CancelTimerAction cancelTimerAction = new CancelTimerAction();
   cancelTimerAction.setTimerName(name);
   addAction(task, cancelEventTypes[i], cancelTimerAction);
 addAction(task, Event.EVENTTYPE_TASK_END, cancelTimerAction);
origin: org.jbpm.jbpm3/jbpm-jpdl

addAction(task, Event.EVENTTYPE_TASK_CREATE, createTimerAction);
   CancelTimerAction cancelTimerAction = new CancelTimerAction();
   cancelTimerAction.setTimerName(name);
   addAction(task, cancelEventTypes[i], cancelTimerAction);
 addAction(task, Event.EVENTTYPE_TASK_END, cancelTimerAction);
origin: org.jbpm.jbpm3/jbpm-jpdl

addAction(task, Event.EVENTTYPE_TASK_ASSIGN, action);
origin: com.github.albfernandez/jbpm-jpdl

addAction(task, Event.EVENTTYPE_TASK_ASSIGN, action);
org.jbpm.jpdl.xmlJpdlXmlReaderaddAction

Popular methods of JpdlXmlReader

  • readNodes
  • <init>
  • addError
  • addProblem
  • addUnresolvedActionReference
  • addUnresolvedTransitionDestination
  • addWarning
  • createAction
    Instantiates and configures an action.
  • createMailDelegation
  • generateTimerName
  • getProcessDefinition
  • getProperty
  • getProcessDefinition,
  • getProperty,
  • getXmlWriter,
  • parseProcessDefinitionAttributes,
  • readAction,
  • readActions,
  • readAssignmentDelegation,
  • readBoolean,
  • readEvents

Popular in Java

  • Finding current android device location
  • getApplicationContext (Context)
  • setContentView (Activity)
  • scheduleAtFixedRate (ScheduledExecutorService)
    Creates and executes a periodic action that becomes enabled first after the given initial delay, and
  • BigInteger (java.math)
    Immutable arbitrary-precision integers. All operations behave as if BigIntegers were represented in
  • Collections (java.util)
    This class consists exclusively of static methods that operate on or return collections. It contains
  • SortedSet (java.util)
    A Set that further provides a total ordering on its elements. The elements are ordered using their C
  • TreeSet (java.util)
    A NavigableSet implementation based on a TreeMap. The elements are ordered using their Comparable, o
  • JTextField (javax.swing)
  • IsNull (org.hamcrest.core)
    Is the value null?
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now