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

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

Best Java code snippets using org.jbpm.workflow.core.node.MilestoneNode.setActions (Showing top 5 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

DroolsAction action2 = new DroolsConsequenceAction("java", "System.out.println(\"action2\");");
actions.add(action2);
milestone.setActions(ExtendedNodeImpl.EVENT_NODE_ENTER, actions);
milestone.setActions(ExtendedNodeImpl.EVENT_NODE_EXIT, actions);
process.addNode(milestone);
connection = new ConnectionImpl(join, Node.CONNECTION_DEFAULT_TYPE, milestone, Node.CONNECTION_DEFAULT_TYPE);
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;
}
org.jbpm.workflow.core.nodeMilestoneNodesetActions

Popular methods of MilestoneNode

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

Popular in Java

  • Creating JSON documents from java classes using gson
  • getSystemService (Context)
  • getContentResolver (Context)
  • addToBackStack (FragmentTransaction)
  • Runnable (java.lang)
    Represents a command that can be executed. Often used to run code in a different Thread.
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • Comparator (java.util)
    A Comparator is used to compare two objects to determine their ordering with respect to each other.
  • NoSuchElementException (java.util)
    Thrown when trying to retrieve an element past the end of an Enumeration or Iterator.
  • Callable (java.util.concurrent)
    A task that returns a result and may throw an exception. Implementors define a single method with no
  • Collectors (java.util.stream)
  • 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