congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
InputParameter.getBinding
Code IndexAdd Tabnine to your IDE (free)

How to use
getBinding
method
in
com.effektif.workflow.api.workflow.InputParameter

Best Java code snippets using com.effektif.workflow.api.workflow.InputParameter.getBinding (Showing top 8 results out of 315)

origin: effektif/effektif

public Map<String, Binding> getInputBindings() {
 if (inputs == null) {
  return null;
 }
 Map<String,Binding> bindings = new HashMap<>();
 for (Map.Entry<String, InputParameter> parameter : inputs.entrySet()) {
  Binding<?> binding = parameter.getValue().getBinding();
  if (binding != null) {
   bindings.put(parameter.getKey(), binding);
  }
 }
 return bindings;
}
origin: effektif/effektif

InputParameterImpl inParameterImpl = new InputParameterImpl(key);
parser.pushContext(key, inParameter, inParameterImpl, null);
Binding< ? > singleBinding = inParameter.getBinding();
if (singleBinding!=null) {
 inParameterImpl.binding = parser.parseBinding(singleBinding, "binding");
origin: effektif/effektif

w.writeStringAttributeEffektif("key", input.getKey());
InputParameter parameter = input.getValue();
if (parameter.getBinding() != null) {
 w.writeBinding("binding", parameter.getBinding());
origin: com.effektif/effektif-workflow-api

public Map<String, Binding> getInputBindings() {
 if (inputs == null) {
  return null;
 }
 Map<String,Binding> bindings = new HashMap<>();
 for (Map.Entry<String, InputParameter> parameter : inputs.entrySet()) {
  Binding<?> binding = parameter.getValue().getBinding();
  if (binding != null) {
   bindings.put(parameter.getKey(), binding);
  }
 }
 return bindings;
}
origin: com.effektif/effektif-workflow-api

w.writeStringAttributeEffektif("key", input.getKey());
InputParameter parameter = input.getValue();
if (parameter.getBinding() != null) {
 w.writeBinding("binding", parameter.getBinding());
origin: com.effektif/effektif-workflow-api

if (parameter.getBinding() != null || parameter.getBindings() != null) {
 inputs.put(key, parameter);
origin: effektif/effektif

if (parameter.getBinding() != null || parameter.getBindings() != null) {
 inputs.put(key, parameter);
origin: effektif/effektif

@Test
public void testInOutParameters() {
 ExecutableWorkflow workflow = new ExecutableWorkflow()
  .activity("a", new NoneTask()
   .inputValue("in1", "value1")
   .inputExpression("in2", "expression2")
   .inputListBinding("in3", new Binding<Object>().value("listValue1"))
   .inputListBinding("in3", new Binding<Object>().expression("listExpression2"))
   .output("out1", "var1"));
 workflow = serializeWorkflow(workflow);
 
 Activity activity = workflow.getActivities().get(0);
 assertEquals("value1", activity.getInputs().get("in1").getBinding().getValue());
 assertEquals("expression2", activity.getInputs().get("in2").getBinding().getExpression());
 assertEquals("listValue1", activity.getInputs().get("in3").getBindings().get(0).getValue());
 assertEquals("listExpression2", activity.getInputs().get("in3").getBindings().get(1).getExpression());
 assertEquals("var1", activity.getOutputs().get("out1"));
}
com.effektif.workflow.api.workflowInputParametergetBinding

Popular methods of InputParameter

  • getBindings
  • <init>
  • addBinding
  • binding
  • getProperties
  • setBinding
  • setBindings

Popular in Java

  • Finding current android device location
  • getApplicationContext (Context)
  • runOnUiThread (Activity)
  • getContentResolver (Context)
  • RandomAccessFile (java.io)
    Allows reading from and writing to a file in a random-access manner. This is different from the uni-
  • Deque (java.util)
    A linear collection that supports element insertion and removal at both ends. The name deque is shor
  • TreeSet (java.util)
    TreeSet is an implementation of SortedSet. All optional operations (adding and removing) are support
  • JList (javax.swing)
  • Logger (org.apache.log4j)
    This is the central class in the log4j package. Most logging operations, except configuration, are d
  • IsNull (org.hamcrest.core)
    Is the value null?
  • Best plugins for Eclipse
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