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

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

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

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-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.nodeMilestoneNodecontainsActions

Popular methods of MilestoneNode

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

Popular in Java

  • Parsing JSON documents to java classes using gson
  • notifyDataSetChanged (ArrayAdapter)
  • getSupportFragmentManager (FragmentActivity)
  • getResourceAsStream (ClassLoader)
  • Graphics2D (java.awt)
    This Graphics2D class extends the Graphics class to provide more sophisticated control overgraphics
  • MalformedURLException (java.net)
    This exception is thrown when a program attempts to create an URL from an incorrect specification.
  • DecimalFormat (java.text)
    A concrete subclass of NumberFormat that formats decimal numbers. It has a variety of features desig
  • LinkedHashMap (java.util)
    LinkedHashMap is an implementation of Map that guarantees iteration order. All optional operations a
  • JTextField (javax.swing)
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
  • Top 17 Free Sublime Text Plugins
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