Tabnine Logo
MilestoneNode.getFrom
Code IndexAdd Tabnine to your IDE (free)

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

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

origin: kiegroup/jbpm

public void validateAddIncomingConnection(final String type, final Connection connection) {
  super.validateAddIncomingConnection(type, connection);
  if (!org.jbpm.workflow.core.Node.CONNECTION_DEFAULT_TYPE.equals(type)) {
    throw new IllegalArgumentException(
        "This type of node [" + connection.getTo().getMetaData().get("UniqueId") + ", " + connection.getTo().getName() 
        + "] only accepts default incoming connection type!");
  }
  if (getFrom() != null && !"true".equals(System.getProperty("jbpm.enable.multi.con"))) {
    throw new IllegalArgumentException(
        "This type of node [" + connection.getTo().getMetaData().get("UniqueId") + ", " + connection.getTo().getName() 
        + "] cannot have more than one incoming connection!");
  }
}
origin: kiegroup/jbpm

if (milestone.getFrom() == null && !acceptsNoIncomingConnections(node)) {
  addErrorMessage(process,
          node,
origin: org.jbpm/jbpm-flow

public void validateAddIncomingConnection(final String type, final Connection connection) {
  super.validateAddIncomingConnection(type, connection);
  if (!org.jbpm.workflow.core.Node.CONNECTION_DEFAULT_TYPE.equals(type)) {
    throw new IllegalArgumentException(
        "This type of node [" + connection.getTo().getMetaData().get("UniqueId") + ", " + connection.getTo().getName() 
        + "] only accepts default incoming connection type!");
  }
  if (getFrom() != null && !"true".equals(System.getProperty("jbpm.enable.multi.con"))) {
    throw new IllegalArgumentException(
        "This type of node [" + connection.getTo().getMetaData().get("UniqueId") + ", " + connection.getTo().getName() 
        + "] cannot have more than one incoming connection!");
  }
}
origin: org.jbpm/jbpm-flow

if (milestone.getFrom() == null && !acceptsNoIncomingConnections(node)) {
  addErrorMessage(process,
          node,
org.jbpm.workflow.core.nodeMilestoneNodegetFrom

Popular methods of MilestoneNode

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

Popular in Java

  • Making http requests using okhttp
  • onCreateOptionsMenu (Activity)
  • findViewById (Activity)
  • setScale (BigDecimal)
  • BorderLayout (java.awt)
    A border layout lays out a container, arranging and resizing its components to fit in five regions:
  • BigDecimal (java.math)
    An immutable arbitrary-precision signed decimal.A value is represented by an arbitrary-precision "un
  • URI (java.net)
    A Uniform Resource Identifier that identifies an abstract or physical resource, as specified by RFC
  • ArrayList (java.util)
    ArrayList is an implementation of List, backed by an array. All optional operations including adding
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • Executors (java.util.concurrent)
    Factory and utility methods for Executor, ExecutorService, ScheduledExecutorService, ThreadFactory,
  • From CI to AI: The AI layer in your organization
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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