Codota Logo
MActivity.<init>
Code IndexAdd Codota to your IDE (free)

How to use
jadex.bpmn.model.MActivity
constructor

Best Java code snippets using jadex.bpmn.model.MActivity.<init> (Showing top 4 results out of 315)

  • Common ways to obtain MActivity
private void myMethod () {
MActivity m =
  • Codota Iconnew MActivity()
  • Codota IconList list;(MActivity) list.get(location)
  • Smart code suggestions by Codota
}
origin: org.activecomponents.jadex/jadex-editor-bpmn

  public Object createObject(IContext context, Map<String, String> rawattributes)
      throws Exception
  {
    MActivity ret = null;
    Object at = rawattributes.get("activityType");
    if (at == null || MTask.TASK.equals(at))
    {
      ret = new MTask();
    }
    else
    {
      ret = new MActivity();
    }
    return ret;
  }
}, new ActivityPostProcessor()),
origin: net.sourceforge.jadex/jadex-model-bpmn

  act = new MActivity();
MActivity evt = new MActivity();
origin: org.activecomponents.jadex/jadex-editor-bpmn

mactivity = new MActivity();
origin: net.sourceforge.jadex/jadex-kernel-bpmn

        public void run()
        {
          // To schedule a step an implicit activity is created.
          // In order to put the step parameter value it is necessary
          // to have an edge with a mapping. Otherwise the parameter
          // value with be deleted in process thread updateParametersBeforeStep().
          
          MActivity act = new MActivity();
          act.setName("External Step Activity: "+(cnt++));
          act.setClazz(new ClassInfo(ExecuteStepTask.class));
          act.addParameter(new MParameter(MParameter.DIRECTION_IN, new ClassInfo(Object[].class), "step", null));
          act.setActivityType(MBpmnModel.TASK);
          MSequenceEdge edge = new MSequenceEdge();
          edge.setTarget(act);
          UnparsedExpression exp = new UnparsedExpression(null, (Class<?>) null, "step", null);
          SJavaParser.parseExpression(exp, null, null);
//                    edge.addParameterMapping("step", SJavaParser.parseExpression("step", null, null), null);
          edge.addParameterMapping("step", exp, null);
          act.addIncomingSequenceEdge(edge);
          MPool pl = pool!=null? bpmnmodel.getPool(pool): (MPool)bpmnmodel.getPools().get(0);
          act.setPool(pl);
          ProcessThread thread = new ProcessThread(""+idcnt++, act, context, BpmnInterpreter.this);
          thread.setLastEdge(edge);
          thread.setParameterValue("step", new Object[]{step, ret});
          context.addExternalThread(thread);
        }
      });
jadex.bpmn.modelMActivity<init>

Popular methods of MActivity

  • getActivityType
    Get the activity type.
  • getId
  • getName
  • 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.
  • getLane
    Get the lane of the activity.
  • getIncomingSequenceEdges,
  • getLane,
  • getOutgoingSequenceEdges,
  • getParameters,
  • getProperties,
  • getPropertyValue,
  • isEventHandler,
  • isThrowing,
  • setActivityType

Popular in Java

  • Reading from database using SQL prepared statement
  • scheduleAtFixedRate (Timer)
  • putExtra (Intent)
  • onCreateOptionsMenu (Activity)
  • EOFException (java.io)
    Thrown when a program encounters the end of a file or stream during an input operation.
  • PrintWriter (java.io)
    Prints formatted representations of objects to a text-output stream. This class implements all of th
  • Properties (java.util)
    The Properties class represents a persistent set of properties. The Properties can be saved to a st
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • JTable (javax.swing)
  • Logger (org.apache.log4j)
    This is the central class in the log4j package. Most logging operations, except configuration, are d
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now