Tabnine Logo
MultiInstance.getValues
Code IndexAdd Tabnine to your IDE (free)

How to use
getValues
method
in
com.effektif.workflow.api.workflow.MultiInstance

Best Java code snippets using com.effektif.workflow.api.workflow.MultiInstance.getValues (Showing top 2 results out of 315)

origin: effektif/effektif

 public void parse(MultiInstance multiInstance, WorkflowParser parser, ScopeImpl parentImpl) {
  this.valuesBindings = parser.parseBindings(multiInstance.getValues(), "multiInstance.values");
  Variable elementVariable = multiInstance.getVariable();
  if (elementVariable!=null) {
   this.elementVariable = new VariableImpl();
   parser.pushContext("elementVariable", elementVariable, null, -1);
   this.elementVariable.parse(elementVariable, parentImpl, parser);
   parser.popContext();
  } else {
   parser.addError("Multi instance has no elementVariable");
  }
 }
}
origin: effektif/effektif

@Test
public void testActivity() {
 Activity activity = new NoneTask()
  .id("verifyRequirements")
  .defaultTransitionId("continue")
  .multiInstance(new MultiInstance()
   .valuesExpression("reviewers")
   .variable("reviewer", TextType.INSTANCE));
 activity = serializeActivity(activity);
 assertEquals("verifyRequirements", activity.getId());
 assertEquals("continue", activity.getDefaultTransitionId());
 assertNotNull(activity.getMultiInstance());
 assertEquals("reviewer", activity.getMultiInstance().getVariable().getId());
 assertEquals("reviewers", activity.getMultiInstance().getValues().get(0).getExpression());
}
com.effektif.workflow.api.workflowMultiInstancegetValues

Popular methods of MultiInstance

  • <init>
  • getVariable
  • addValueBinding
  • readBpmn
    Reads the multi-instance model from extension elements, ignoring the BPMN multiInstanceLoopCharacter
  • valuesExpression
  • variable
  • writeBpmn

Popular in Java

  • Finding current android device location
  • setContentView (Activity)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • getResourceAsStream (ClassLoader)
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • Callable (java.util.concurrent)
    A task that returns a result and may throw an exception. Implementors define a single method with no
  • Handler (java.util.logging)
    A Handler object accepts a logging request and exports the desired messages to a target, for example
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
  • CodeWhisperer alternatives
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