congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
org.jbpm.workflow.core.node
Code IndexAdd Tabnine to your IDE (free)

How to use org.jbpm.workflow.core.node

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

origin: kiegroup/jbpm

@Override
public Context getContext(String contextType) {
  Context context = getCompositeNode().getDefaultContext(contextType);
  if (context != null) {
    return context;
  }
  return super.getContext(contextType);
}

origin: kiegroup/jbpm

@Override
public Context getContext(String contextId) {
  Context context = getDefaultContext(contextId);
  if (context != null) {
    return context;
  }
  return super.getContext(contextId);
}
origin: kiegroup/jbpm

public boolean acceptsEvent(String type, Object event) {
  for (Node node: internalGetNodes()) {
    if (node instanceof EventNodeInterface) {
      if (((EventNodeInterface) node).acceptsEvent(type, event)) {
        return true;
      }
    }
  }
  return false;
}

origin: kiegroup/jbpm

public void addNode(Node node) {
  getCompositeNode().addNode(node);
}

origin: kiegroup/jbpm

public void linkIncomingConnections(String inType, long inNodeId, String inNodeType) {
  getCompositeNode().linkIncomingConnections(inType, inNodeId, inNodeType);
}
origin: kiegroup/jbpm

public void linkOutgoingConnections(long outNodeId, String outNodeType, String outType) {
  getCompositeNode().linkOutgoingConnections(outNodeId, outNodeType, outType);
}

origin: kiegroup/jbpm

@Override
public Context getContext(String contextType, long id) {
  Context ctx =  super.getContext(contextType, id);
  if (ctx == null) {
    ctx = getCompositeNode().getContext(contextType, id);        
  }
  
  return ctx;
}
origin: kiegroup/jbpm

@Override
public List<Context> getContexts(String contextType) {
  List<Context> contexts = super.getContexts(contextType);
  if (contexts == null) {
    contexts = getCompositeNode().getContexts(contextType);        
  }
  
  return contexts;
}

origin: kiegroup/jbpm

public void removeNode(Node node) {
  getCompositeNode().removeNode(node);
}

origin: kiegroup/jbpm

public CompositeNode.NodeAndType getLinkedIncomingNode(String inType) {
  return getCompositeNode().getLinkedIncomingNode(inType);
}
origin: kiegroup/jbpm

protected Map<String, CompositeNode.NodeAndType> getInPorts(CompositeNode compositeNode) {
  return ((ForEachNode) compositeNode).getCompositeNode().getLinkedIncomingNodes();
}

origin: kiegroup/jbpm

protected Map<String, CompositeNode.NodeAndType> getOutPorts(CompositeNode compositeNode) {
  return ((ForEachNode) compositeNode).getCompositeNode().getLinkedOutgoingNodes();
}

origin: kiegroup/jbpm

public CompositeNode.NodeAndType getLinkedOutgoingNode(String inType) {
  return getCompositeNode().getLinkedOutgoingNode(inType);
}
origin: kiegroup/jbpm

public void linkOutgoingConnections(long outNodeId, String outNodeType, String outType) {
  linkOutgoingConnections(new NodeAndType(this, outNodeId, outNodeType), outType);
}

origin: kiegroup/jbpm

public void linkIncomingConnections(String inType, long inNodeId, String inNodeType) {
  linkIncomingConnections(inType, new NodeAndType(nodeContainer, inNodeId, inNodeType));
}

origin: kiegroup/jbpm

public StartNode findStartNode() {
  for (Node node: getNodes()) {
    if (node instanceof StartNode) {
      StartNode startNode = (StartNode) node;                                    
      return startNode;                           
    }
  }
  return null;
}
origin: kiegroup/jbpm

@Override
public Context getContext(String contextId) {
  Context context = getDefaultContext(contextId);
  if (context != null) {
    return context;
  }
  return super.getContext(contextId);
}
origin: kiegroup/jbpm

  @Override
  public Context getContext(String contextId) {
    Context context = getDefaultContext(contextId);
    if (context != null) {
      return context;
    }
    return super.getContext(contextId);
  }
}
origin: kiegroup/jbpm

public Node internalGetNode(long id) {
  try {
    return getNode(id);
  } catch (IllegalArgumentException e) {
    return null;
  }
}
origin: kiegroup/jbpm

public EventTransformerImpl(Transformation transformation) {
  if (transformation != null) {
    this.transformation = transformation;
    this.name = transformation.getSource();
    
    if (this.name == null) {
      this.name = "event";
    }
  }
}
org.jbpm.workflow.core.node

Most used classes

  • HumanTaskNode
  • WorkItemNode
    Default implementation of a task node.
  • SubProcessNode
    Default implementation of a sub-flow node.
  • StartNode
    Default implementation of a start node.
  • EndNode
    Default implementation of an end node.
  • ActionNode,
  • DataAssociation,
  • DynamicNode,
  • Join,
  • MilestoneNode,
  • RuleSetNode,
  • Split,
  • TimerNode,
  • CompositeNode,
  • EventTrigger,
  • FaultNode,
  • ForEachNode,
  • CompositeContextNode,
  • StateNode
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