Tabnine Logo
MActivity.getOutgoingSequenceEdges
Code IndexAdd Tabnine to your IDE (free)

How to use
getOutgoingSequenceEdges
method
in
jadex.bpmn.model.MActivity

Best Java code snippets using jadex.bpmn.model.MActivity.getOutgoingSequenceEdges (Showing top 18 results out of 315)

origin: net.sourceforge.jadex/jadex-model-bpmn

  /**
   *  Internal get all edges.
   *  @param sub The subprocess.
   *  @param edges The edges (results will be added to this).
   */
  protected void getAllEdges(MActivity act, Map<String, MSequenceEdge> edges)
  {
//        addEdges(sub.getSequenceEdges(), edges);
    addEdges(act.getOutgoingSequenceEdges(), edges);
    
    if(act instanceof MSubProcess)
    {
      List<MActivity> acts = ((MSubProcess) act).getActivities();
      if(acts!=null)
      {
        for(int j=0; j<acts.size(); j++)
        {
          getAllEdges(acts.get(j), edges);
        }
      }
    }
  }
 
origin: net.sourceforge.jadex/jadex-kernel-bpmn

List<MSequenceEdge>    outgoing    = activity.getOutgoingSequenceEdges();
origin: net.sourceforge.jadex/jadex-kernel-bpmn

  /**
   *  Execute an activity.
   *  @param activity    The activity to execute.
   *  @param instance    The process instance.
   *  @param thread The process thread.
   *  @param info The info object.
   */
  public void cancel(MActivity activity, BpmnInterpreter instance, ProcessThread thread)
  {
//        System.out.println(instance.getComponentIdentifier()+" cancel called: "+activity+", "+thread);
    List outgoing = activity.getOutgoingSequenceEdges();
    Object[] waitinfos = (Object[])thread.getWaitInfo();
    
//        if(waitinfos==null)
//            System.out.println("here");
  
    for(int i=0; i<outgoing.size(); i++)
    {
      MSequenceEdge next = (MSequenceEdge)outgoing.get(i);
      MActivity act = next.getTarget();
      thread.setWaitInfo(waitinfos[i]);
      instance.getActivityHandler(act).cancel(act, instance, thread);
    }
  }
}
origin: net.sourceforge.jadex/jadex-kernel-bpmn

List<MSequenceEdge>    outgoing    = activity.getOutgoingSequenceEdges();
origin: org.activecomponents.jadex/jadex-editor-bpmn

if(mactivity.getOutgoingSequenceEdges() != null)
  sseqedges.addAll(mactivity.getOutgoingSequenceEdges());
  if(evthandler.getOutgoingSequenceEdges() != null && sseqedges != null)
    sseqedges.addAll(evthandler.getOutgoingSequenceEdges());
origin: net.sourceforge.jadex/jadex-kernel-bpmn

List<MSequenceEdge>    outgoing    = activity.getOutgoingSequenceEdges();
origin: net.sourceforge.jadex/jadex-kernel-bpmn

List outgoing = activity.getOutgoingSequenceEdges();
if(outgoing==null)
  throw new UnsupportedOperationException("Activity must have connected activities: "+activity);
origin: net.sourceforge.jadex/jadex-kernel-bpmn

List    outgoing    = activity.getOutgoingSequenceEdges();
origin: net.sourceforge.jadex/jadex-kernel-bpmn

if(!ret && thread.getActivity()!=null && MBpmnModel.EVENT_INTERMEDIATE_MULTIPLE.equals(thread.getActivity().getActivityType()))
  List<MSequenceEdge> outedges = thread.getActivity().getOutgoingSequenceEdges();
  for(int i=0; i<outedges.size() && !ret; i++)
origin: net.sourceforge.jadex/jadex-kernel-bpmn

List<MSequenceEdge>    outgoing    = activity.getOutgoingSequenceEdges();
origin: org.activecomponents.jadex/jadex-editor-bpmn

  public void actionPerformed(ActionEvent e)
  {
    boolean selected = ((JCheckBox) e.getSource()).isSelected();
    if (selected)
    {
      VActivity vsactivity = (VActivity) seqedge.getSource();
      MActivity sactivity = (MActivity) vsactivity.getBpmnElement();
      List<MSequenceEdge> edges = sactivity.getOutgoingSequenceEdges();
      for (MSequenceEdge edge : edges)
      {
        edge.setDefault(false);
      }
      
      modelcontainer.getGraph().getView().invalidate(vsactivity);
      /*modelcontainer.getGraph().getModel().beginUpdate();
      for (int i = 0; i < vsactivity.getEdgeCount(); ++i)
      {
        modelcontainer.getGraph().getModel().setStyle(vsactivity.getEdgeAt(i), VSequenceEdge.class.getSimpleName());
      }
      modelcontainer.getGraph().getModel().endUpdate();*/
      
      
    }
    getBpmnSequenceEdge().setDefault(selected);
    modelcontainer.getGraphComponent().refresh();
  }
});
origin: org.activecomponents.jadex/jadex-editor-bpmn

if (event.getMActivity().getOutgoingSequenceEdges() == null || event.getMActivity().getOutgoingSequenceEdges().size() == 0)
origin: net.sourceforge.jadex/jadex-kernel-bpmn

&& info.getName().equals(act.getName()))
List<MSequenceEdge>    edges    = act.getOutgoingSequenceEdges();
for(int k=0; k<edges.size(); k++)
origin: net.sourceforge.jadex/jadex-model-bpmn

if (activity.getOutgoingSequenceEdges() != null)
  seqedges.addAll(activity.getOutgoingSequenceEdges());
out.print(activity.getId());
List<MSequenceEdge> edges = activity.getOutgoingSequenceEdges();
if (edges != null)
edges = activity.getOutgoingSequenceEdges();
if (edges != null)
origin: net.sourceforge.jadex/jadex-kernel-bpmn

List<MSequenceEdge> outedges = activity.getOutgoingSequenceEdges();
if(outedges!=null && outedges.size()==1)
    List<MSequenceEdge>    outgoing    = activity.getOutgoingSequenceEdges();
    if(outgoing!=null && outgoing.size()==1)
origin: net.sourceforge.jadex/jadex-kernel-bpmn

Object    wi    = null;    
List outgoing = activity.getOutgoingSequenceEdges();
OrFilter filter = (OrFilter)thread.getWaitFilter();
IFilter[] filters = filter.getFilters();
origin: org.activecomponents.jadex/jadex-editor-bpmn

for (MActivity mactivity : acts)
  List<MSequenceEdge> edges = mactivity.getOutgoingSequenceEdges();
  if (edges != null)
origin: org.activecomponents.jadex/jadex-editor-bpmn

if(mactivity.getOutgoingSequenceEdges() != null)
  seqedges.addAll(mactivity.getOutgoingSequenceEdges());
jadex.bpmn.modelMActivitygetOutgoingSequenceEdges

Javadoc

Get the outgoing sequence edges.

Popular methods of MActivity

  • getActivityType
    Get the activity type.
  • getId
  • getName
  • <init>
  • addIncomingMessagingEdge
    Add an incoming message edge.
  • addIncomingSequenceEdge
    Add an incoming edge.
  • addOutgoingMessagingEdge
    Add an outgoing message edge.
  • addOutgoingSequenceEdge
    Add an outgoing edge.
  • addParameter
    Add a parameter.
  • getClazz
    Get the class.
  • getEventHandlers
    Get the event handlers.
  • getIncomingSequenceEdges
    Get the incoming edges.
  • getEventHandlers,
  • getIncomingSequenceEdges,
  • getLane,
  • getParameters,
  • getProperties,
  • getPropertyValue,
  • isEventHandler,
  • isThrowing,
  • setActivityType

Popular in Java

  • Finding current android device location
  • scheduleAtFixedRate (ScheduledExecutorService)
  • requestLocationUpdates (LocationManager)
  • getSharedPreferences (Context)
  • IOException (java.io)
    Signals a general, I/O-related error. Error details may be specified when calling the constructor, a
  • Proxy (java.net)
    This class represents proxy server settings. A created instance of Proxy stores a type and an addres
  • URLEncoder (java.net)
    This class is used to encode a string using the format required by application/x-www-form-urlencoded
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • Servlet (javax.servlet)
    Defines methods that all servlets must implement. A servlet is a small Java program that runs within
  • Scheduler (org.quartz)
    This is the main interface of a Quartz Scheduler. A Scheduler maintains a registry of org.quartz.Job
  • Top PhpStorm plugins
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