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

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

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

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.
 */
public void execute(final MActivity activity, final BpmnInterpreter instance, final ProcessThread thread)
{
  //boolean	send = thread.hasPropertyValue(PROPERTY_THROWING)? ((Boolean)thread.getPropertyValue(PROPERTY_THROWING)).booleanValue() : false;
  
  if(activity.isThrowing())
  {
    sendMessage(activity, instance, thread);
  }
  else
  {
    receiveMessage(activity, instance, thread);
  }
}
 
origin: org.activecomponents.jadex/jadex-editor-bpmn

sact.isThrowing() &&
tact.getActivityType().startsWith("Event") &&
tact.getActivityType().endsWith("Message") &&
!tact.isThrowing()) ||
sact instanceof MTask &&
tact instanceof MTask) ||
origin: org.activecomponents.jadex/jadex-editor-bpmn

  !((MActivity) (((VActivity) source).getBpmnElement())).isThrowing() &&
  ((MActivity) (((VActivity) target).getBpmnElement())).isThrowing())
MActivity mevt2 = (MActivity) ((VActivity) target).getBpmnElement();
if (!mevt1.isThrowing())
if (mevt2.isThrowing())
origin: org.activecomponents.jadex/jadex-editor-bpmn

g.setStroke(new BasicStroke(width, BasicStroke.CAP_ROUND, BasicStroke.JOIN_ROUND));
if (mactivity.isThrowing())
origin: org.activecomponents.jadex/jadex-editor-bpmn

mevt2.getActivityType() != null && mevt2.getActivityType().endsWith("Message"))
boolean conv1 = mevt1.isThrowing();
conv1 |= (mevt1.getIncomingMessagingEdges() == null? 0 : mevt1.getIncomingMessagingEdges().size()) == 0;
boolean conv2 = !mevt2.isThrowing();
conv2 |= (mevt1.getOutgoingMessagingEdges() == null? 0 : mevt1.getOutgoingMessagingEdges().size()) == 0;
ret = conv1 && conv2 && (mevt1.getPool() != mevt2.getPool());
origin: org.activecomponents.jadex/jadex-editor-bpmn

configureAndAddInputLine(column, label, cbox, y++);
if (getMEvent().isThrowing())
origin: org.activecomponents.jadex/jadex-editor-bpmn

  /**
   *  Create a new panel.
   *  @param container The model container.
   *  @param vmsgevent The vactivity.
   */
  public ProvidedServicePropertyPanel(ModelContainer container, VActivity vact)
  {
    super(null, container);
    this.vact = vact;
    setLayout(new BorderLayout());
    
    if(!vact.getMActivity().isThrowing() && !vact.getMActivity().isEventHandler())
    {
      add(createStartServicePanel(), BorderLayout.CENTER);
      refreshStart();
    }
    else
    {
      add(createEndServicePanel(container), BorderLayout.CENTER);
//            refreshEnd();
    }
  }
   
origin: net.sourceforge.jadex/jadex-model-bpmn

else if(activity.isThrowing())
origin: org.activecomponents.jadex/jadex-editor-bpmn

JPanel column = createColumn(colnum++);
if (exceptionevent.getMActivity().isThrowing())
origin: net.sourceforge.jadex/jadex-kernel-bpmn

if(activity.isEventHandler() || !activity.isThrowing())
jadex.bpmn.modelMActivityisThrowing

Javadoc

Test if the activity is throwing.

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,
  • getOutgoingSequenceEdges,
  • getParameters,
  • getProperties,
  • getPropertyValue,
  • isEventHandler,
  • setActivityType

Popular in Java

  • Start an intent from android
  • putExtra (Intent)
  • findViewById (Activity)
  • getExternalFilesDir (Context)
  • LinkedList (java.util)
    Doubly-linked list implementation of the List and Dequeinterfaces. Implements all optional list oper
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
  • SortedSet (java.util)
    SortedSet is a Set which iterates over its elements in a sorted order. The order is determined eithe
  • TimeUnit (java.util.concurrent)
    A TimeUnit represents time durations at a given unit of granularity and provides utility methods to
  • Modifier (javassist)
    The Modifier class provides static methods and constants to decode class and member access modifiers
  • XPath (javax.xml.xpath)
    XPath provides access to the XPath evaluation environment and expressions. Evaluation of XPath Expr
  • Top plugins for WebStorm
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