public class BeanshellActivity extends AbstractAsynchronousDependencyActivity
AbstractAsynchronousDependencyActivity.ClassLoaderSharing, AbstractAsynchronousDependencyActivity.FileExtFilter
Modifier and Type | Field and Description |
---|---|
static String |
URI |
classLoader, libDir
inputPortMapping, inputPorts, outputPortMapping, outputPorts
Constructor and Description |
---|
BeanshellActivity(ApplicationConfiguration applicationConfiguration) |
Modifier and Type | Method and Description |
---|---|
protected void |
checkGranularDepths()
As the Beanshell activity currently only can output values at the
specified depth, the granular depths should always be equal to the actual
depth.
|
void |
configure(com.fasterxml.jackson.databind.JsonNode json) |
void |
executeAsynch(Map<String,T2Reference> data,
AsynchronousActivityCallback callback) |
com.fasterxml.jackson.databind.JsonNode |
getConfiguration() |
ActivityInputPort |
getInputPort(String name) |
findClassLoader, getClassLoader, setClassLoader
addInput, addOutput, addOutput, configurePorts, getEdits, getInputPortMapping, getInputPorts, getOutputPortMapping, getOutputPorts, removeInputs, removeOutputs, setEdits
getAddAnnotationEdit, getAnnotations, getRemoveAnnotationEdit, setAnnotations
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getInputPortMapping, getInputPorts, getOutputPortMapping, getOutputPorts, setEdits
getAddAnnotationEdit, getAnnotations, getRemoveAnnotationEdit, setAnnotations
public static final String URI
public BeanshellActivity(ApplicationConfiguration applicationConfiguration)
public com.fasterxml.jackson.databind.JsonNode getConfiguration()
getConfiguration
in interface Configurable<com.fasterxml.jackson.databind.JsonNode>
getConfiguration
in class AbstractAsynchronousActivity<com.fasterxml.jackson.databind.JsonNode>
public void configure(com.fasterxml.jackson.databind.JsonNode json)
configure
in interface Configurable<com.fasterxml.jackson.databind.JsonNode>
configure
in interface Activity<com.fasterxml.jackson.databind.JsonNode>
configure
in class AbstractAsynchronousActivity<com.fasterxml.jackson.databind.JsonNode>
protected void checkGranularDepths()
Workflow definitions created with Taverna 2.0b1 would not honour this and always set the granular depth to 0.
This method modifies the granular depths to be equal to the depths.
public ActivityInputPort getInputPort(String name)
public void executeAsynch(Map<String,T2Reference> data, AsynchronousActivityCallback callback)
executeAsynch
in interface AsynchronousActivity<com.fasterxml.jackson.databind.JsonNode>
executeAsynch
in class AbstractAsynchronousActivity<com.fasterxml.jackson.databind.JsonNode>
Copyright © 2015–2016 The Apache Software Foundation. All rights reserved.