congrats Icon
New! Announcing our next generation AI code completions
Read here
Tabnine Logo
MilestoneNode.getActions
Code IndexAdd Tabnine to your IDE (free)

How to use
getActions
method
in
org.jbpm.workflow.core.node.MilestoneNode

Best Java code snippets using org.jbpm.workflow.core.node.MilestoneNode.getActions (Showing top 6 results out of 315)

origin: kiegroup/jbpm

public MilestoneNodeFactory onEntryAction(String dialect, String action) {
  if (getMilestoneNode().getActions(dialect) != null) {
    getMilestoneNode().getActions(dialect).add(new DroolsConsequenceAction(dialect, action));
  } else {
    List<DroolsAction> actions = new ArrayList<DroolsAction>();
    actions.add(new DroolsConsequenceAction(dialect, action));
    getMilestoneNode().setActions(MilestoneNode.EVENT_NODE_ENTER, actions);
  }
  return this;
}
origin: kiegroup/jbpm

public MilestoneNodeFactory onExitAction(String dialect, String action) {
  if (getMilestoneNode().getActions(dialect) != null) {
    getMilestoneNode().getActions(dialect).add(new DroolsConsequenceAction(dialect, action));
  } else {
    List<DroolsAction> actions = new ArrayList<DroolsAction>();
    actions.add(new DroolsConsequenceAction(dialect, action));
    getMilestoneNode().setActions(MilestoneNode.EVENT_NODE_EXIT, actions);
  }
  return this;
}
origin: kiegroup/jbpm

public void writeNode(Node node, StringBuilder xmlDump, boolean includeMeta) {
  MilestoneNode milestoneNode = (MilestoneNode) node;
  writeNode("milestone", milestoneNode, xmlDump, includeMeta);
  String constraint = milestoneNode.getConstraint();
  if (constraint != null || milestoneNode.getTimers() != null || milestoneNode.containsActions()) {
    xmlDump.append(">\n");
    if (includeMeta) {
      writeMetaData(milestoneNode, xmlDump);
    }
    if (constraint != null) {
      xmlDump.append("      <constraint type=\"rule\" dialect=\"mvel\" >"
          + XmlDumper.replaceIllegalChars(constraint.trim()) + "</constraint>" + EOL);
    }
    for (String eventType: milestoneNode.getActionTypes()) {
      writeActions(eventType, milestoneNode.getActions(eventType), xmlDump);
    }
    writeTimers(milestoneNode.getTimers(), xmlDump);
    endNode("milestone", xmlDump);
  } else {
    endNode(xmlDump);
  }
}
origin: org.jbpm/jbpm-flow

public MilestoneNodeFactory onEntryAction(String dialect, String action) {
  if (getMilestoneNode().getActions(dialect) != null) {
    getMilestoneNode().getActions(dialect).add(new DroolsConsequenceAction(dialect, action));
  } else {
    List<DroolsAction> actions = new ArrayList<DroolsAction>();
    actions.add(new DroolsConsequenceAction(dialect, action));
    getMilestoneNode().setActions(MilestoneNode.EVENT_NODE_ENTER, actions);
  }
  return this;
}
origin: org.jbpm/jbpm-flow

public MilestoneNodeFactory onExitAction(String dialect, String action) {
  if (getMilestoneNode().getActions(dialect) != null) {
    getMilestoneNode().getActions(dialect).add(new DroolsConsequenceAction(dialect, action));
  } else {
    List<DroolsAction> actions = new ArrayList<DroolsAction>();
    actions.add(new DroolsConsequenceAction(dialect, action));
    getMilestoneNode().setActions(MilestoneNode.EVENT_NODE_EXIT, actions);
  }
  return this;
}
origin: org.jbpm/jbpm-flow-builder

public void writeNode(Node node, StringBuilder xmlDump, boolean includeMeta) {
  MilestoneNode milestoneNode = (MilestoneNode) node;
  writeNode("milestone", milestoneNode, xmlDump, includeMeta);
  String constraint = milestoneNode.getConstraint();
  if (constraint != null || milestoneNode.getTimers() != null || milestoneNode.containsActions()) {
    xmlDump.append(">\n");
    if (includeMeta) {
      writeMetaData(milestoneNode, xmlDump);
    }
    if (constraint != null) {
      xmlDump.append("      <constraint type=\"rule\" dialect=\"mvel\" >"
          + XmlDumper.replaceIllegalChars(constraint.trim()) + "</constraint>" + EOL);
    }
    for (String eventType: milestoneNode.getActionTypes()) {
      writeActions(eventType, milestoneNode.getActions(eventType), xmlDump);
    }
    writeTimers(milestoneNode.getTimers(), xmlDump);
    endNode("milestone", xmlDump);
  } else {
    endNode(xmlDump);
  }
}
org.jbpm.workflow.core.nodeMilestoneNodegetActions

Popular methods of MilestoneNode

  • <init>
  • setConstraint
  • getConstraint
  • setName
  • addTimer
  • getMetaData
  • getTimers
  • getUniqueId
  • setActions
  • setId
  • setMetaData
  • containsActions
  • setMetaData,
  • containsActions,
  • getActionTypes,
  • getFrom,
  • getId,
  • getMatchVariable,
  • getName,
  • getTo,
  • setMatchVariable

Popular in Java

  • Reactive rest calls using spring rest template
  • scheduleAtFixedRate (ScheduledExecutorService)
  • scheduleAtFixedRate (Timer)
  • startActivity (Activity)
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • AtomicInteger (java.util.concurrent.atomic)
    An int value that may be updated atomically. See the java.util.concurrent.atomic package specificati
  • Filter (javax.servlet)
    A filter is an object that performs filtering tasks on either the request to a resource (a servlet o
  • JFrame (javax.swing)
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
  • Table (org.hibernate.mapping)
    A relational table
  • Sublime Text for Python
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now