congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
NodeInstance.getLevel
Code IndexAdd Tabnine to your IDE (free)

How to use
getLevel
method
in
org.jbpm.workflow.instance.NodeInstance

Best Java code snippets using org.jbpm.workflow.instance.NodeInstance.getLevel (Showing top 10 results out of 315)

origin: kiegroup/jbpm

public NodeInstance getFirstNodeInstance(final long nodeId) {
  for (final Iterator<NodeInstance> iterator = this.nodeInstances
      .iterator(); iterator.hasNext();) {
    final NodeInstance nodeInstance = iterator.next();
    if (nodeInstance.getNodeId() == nodeId && nodeInstance.getLevel() == getCurrentLevel()) {
      return nodeInstance;
    }
  }
  return null;
}
origin: kiegroup/jbpm

public NodeInstance getFirstNodeInstance(final long nodeId) {
  for ( final Iterator<NodeInstance> iterator = this.nodeInstances.iterator(); iterator.hasNext(); ) {
    final NodeInstance nodeInstance = iterator.next();
    if ( nodeInstance.getNodeId() == nodeId && nodeInstance.getLevel() == getCurrentLevel()) {
      return nodeInstance;
    }
  }
  return null;
}
origin: kiegroup/jbpm

if (((org.jbpm.workflow.instance.NodeInstance)nodeInstance).getLevel() != getLevel()) {
  continue;
origin: kiegroup/jbpm

int level = ((org.jbpm.workflow.instance.NodeInstance)from).getLevel();
((org.jbpm.workflow.instance.NodeInstanceContainer)getNodeInstanceContainer()).setCurrentLevel(level);
Collection<Connection> incoming = getNode().getIncomingConnections(type);
origin: kiegroup/jbpm

public JBPMMessages.ProcessInstance.NodeInstance writeNodeInstance(MarshallerWriteContext context,
                                  NodeInstance nodeInstance) throws IOException {
  JBPMMessages.ProcessInstance.NodeInstance.Builder _node = JBPMMessages.ProcessInstance.NodeInstance.newBuilder()
      .setId( nodeInstance.getId() )
      .setNodeId( nodeInstance.getNodeId())
      .setLevel(((org.jbpm.workflow.instance.NodeInstance)nodeInstance).getLevel())
      .setSlaCompliance(((org.jbpm.workflow.instance.NodeInstance)nodeInstance).getSlaCompliance());
          
  if (((org.jbpm.workflow.instance.NodeInstance)nodeInstance).getSlaDueDate() != null) {
    _node.setSlaDueDate(((org.jbpm.workflow.instance.NodeInstance)nodeInstance).getSlaDueDate().getTime());
  }
  if (((org.jbpm.workflow.instance.NodeInstance)nodeInstance).getSlaTimerId() != null) {
    _node.setSlaTimerId(((org.jbpm.workflow.instance.NodeInstance)nodeInstance).getSlaTimerId());
  }
  
  _node.setContent( writeNodeInstanceContent( _node, 
                        nodeInstance, 
                        context ) );
  return _node.build();
}
origin: org.jbpm/jbpm-flow

public NodeInstance getFirstNodeInstance(final long nodeId) {
  for ( final Iterator<NodeInstance> iterator = this.nodeInstances.iterator(); iterator.hasNext(); ) {
    final NodeInstance nodeInstance = iterator.next();
    if ( nodeInstance.getNodeId() == nodeId && nodeInstance.getLevel() == getCurrentLevel()) {
      return nodeInstance;
    }
  }
  return null;
}
origin: org.jbpm/jbpm-flow

public NodeInstance getFirstNodeInstance(final long nodeId) {
  for (final Iterator<NodeInstance> iterator = this.nodeInstances
      .iterator(); iterator.hasNext();) {
    final NodeInstance nodeInstance = iterator.next();
    if (nodeInstance.getNodeId() == nodeId && nodeInstance.getLevel() == getCurrentLevel()) {
      return nodeInstance;
    }
  }
  return null;
}
origin: org.jbpm/jbpm-flow

if (((org.jbpm.workflow.instance.NodeInstance)nodeInstance).getLevel() != getLevel()) {
  continue;
origin: org.jbpm/jbpm-flow

int level = ((org.jbpm.workflow.instance.NodeInstance)from).getLevel();
((org.jbpm.workflow.instance.NodeInstanceContainer)getNodeInstanceContainer()).setCurrentLevel(level);
Collection<Connection> incoming = getNode().getIncomingConnections(type);
origin: org.jbpm/jbpm-flow

public JBPMMessages.ProcessInstance.NodeInstance writeNodeInstance(MarshallerWriteContext context,
                                  NodeInstance nodeInstance) throws IOException {
  JBPMMessages.ProcessInstance.NodeInstance.Builder _node = JBPMMessages.ProcessInstance.NodeInstance.newBuilder()
      .setId( nodeInstance.getId() )
      .setNodeId( nodeInstance.getNodeId())
      .setLevel(((org.jbpm.workflow.instance.NodeInstance)nodeInstance).getLevel())
      .setSlaCompliance(((org.jbpm.workflow.instance.NodeInstance)nodeInstance).getSlaCompliance());
          
  if (((org.jbpm.workflow.instance.NodeInstance)nodeInstance).getSlaDueDate() != null) {
    _node.setSlaDueDate(((org.jbpm.workflow.instance.NodeInstance)nodeInstance).getSlaDueDate().getTime());
  }
  if (((org.jbpm.workflow.instance.NodeInstance)nodeInstance).getSlaTimerId() != null) {
    _node.setSlaTimerId(((org.jbpm.workflow.instance.NodeInstance)nodeInstance).getSlaTimerId());
  }
  
  _node.setContent( writeNodeInstanceContent( _node, 
                        nodeInstance, 
                        context ) );
  return _node.build();
}
org.jbpm.workflow.instanceNodeInstancegetLevel

Popular methods of NodeInstance

  • getId
  • getSlaCompliance
  • getNode
  • resolveContextInstance
  • trigger
  • cancel
  • getNodeId
  • getNodeInstanceContainer
  • getNodeName
  • getProcessInstance
  • getSlaDueDate
  • getSlaTimerId
  • getSlaDueDate,
  • getSlaTimerId,
  • setDynamicParameters

Popular in Java

  • Updating database using SQL prepared statement
  • compareTo (BigDecimal)
  • getSupportFragmentManager (FragmentActivity)
  • onCreateOptionsMenu (Activity)
  • SocketTimeoutException (java.net)
    This exception is thrown when a timeout expired on a socket read or accept operation.
  • Comparator (java.util)
    A Comparator is used to compare two objects to determine their ordering with respect to each other.
  • Locale (java.util)
    Locale represents a language/country/variant combination. Locales are used to alter the presentatio
  • ExecutorService (java.util.concurrent)
    An Executor that provides methods to manage termination and methods that can produce a Future for tr
  • JCheckBox (javax.swing)
  • JLabel (javax.swing)
  • 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