Package | Description |
---|---|
org.apache.taverna.reference |
Interfaces for the Taverna 2 reference manager.
|
org.apache.taverna.reference.impl |
Implementation of the reference manager APIs backed by Hibernate.
|
org.apache.taverna.reference.impl.external.file |
Support for references to a file on a local (or otherwise mounted)
filesystem
|
org.apache.taverna.reference.impl.external.http |
Support for references to a URL with the HTTP protocol
|
org.apache.taverna.reference.impl.external.object |
Support for representation of inlined objects as references.
|
org.apache.taverna.t2referencetest | |
org.apache.taverna.workflowmodel |
Defines classes and interfaces for workflow level entities and events.
|
org.apache.taverna.workflowmodel.impl |
Implementation package for workflow entities
|
org.apache.taverna.workflowmodel.processor.activity |
Provides definitions for a single Activity to be contained within a
Processor.
|
org.apache.taverna.workflowmodel.processor.activity.config |
A set of helper classes to aid in defining how Activities are configured.
|
org.apache.taverna.workflowmodel.processor.activity.impl |
Contains specific implementations of the Activity Ports, together with an implementation of ActivityPortBuilder which is responsible for building them.
|
Modifier and Type | Interface and Description |
---|---|
interface |
ExternalReferenceBuilderSPI<TargetType extends ExternalReferenceSPI>
Constructs an ExternalReferenceSPI instance from a byte stream.
|
interface |
ExternalReferenceTranslatorSPI<SourceType extends ExternalReferenceSPI,TargetType extends ExternalReferenceSPI>
Constructs an ExternalReference instance from an existing ExternalReference,
most usually of a different type.
|
interface |
ExternalReferenceTranslatorSPI<SourceType extends ExternalReferenceSPI,TargetType extends ExternalReferenceSPI>
Constructs an ExternalReference instance from an existing ExternalReference,
most usually of a different type.
|
Modifier and Type | Interface and Description |
---|---|
interface |
ValueCarryingExternalReference<T>
Specialization of ExternalReferenceSPI for reference types which carry a
value type internally.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractExternalReference
A trivial implementation of ExternalReference.
|
Modifier and Type | Method and Description |
---|---|
ExternalReferenceSPI |
ExternalReferenceSPI.clone() |
abstract ExternalReferenceSPI |
AbstractExternalReference.clone() |
ExternalReferenceSPI |
ValueToReferenceConverterSPI.convert(Object o,
ReferenceContext context)
Construct and return a new ExternalReferenceSPI implementation which is
in some way equivalent to the supplied object.
|
Modifier and Type | Method and Description |
---|---|
Set<ExternalReferenceSPI> |
ReferenceSetAugmentor.augmentReferenceSet(ReferenceSet references,
Set<Class<ExternalReferenceSPI>> targetReferenceTypes,
ReferenceContext context)
Attempts to modify the supplied ReferenceSet such that it contains an
implementation of at least one of the ExternalReferenceSPI classes
specified.
|
Set<ExternalReferenceSPI> |
ReferenceSet.getExternalReferences()
The reference set contains a set of ExternalReferenceSPI instances, all
of which point to byte equivalent data.
|
Modifier and Type | Method and Description |
---|---|
void |
ReferenceSetAugmentorCallback.augmentationCompleted(Set<ExternalReferenceSPI> newReferences)
Called when the augmentation has succeeded
|
Set<ExternalReferenceSPI> |
ReferenceSetAugmentor.augmentReferenceSet(ReferenceSet references,
Set<Class<ExternalReferenceSPI>> targetReferenceTypes,
ReferenceContext context)
Attempts to modify the supplied ReferenceSet such that it contains an
implementation of at least one of the ExternalReferenceSPI classes
specified.
|
void |
ReferenceSetAugmentor.augmentReferenceSetAsynch(ReferenceSet references,
Set<Class<ExternalReferenceSPI>> targetReferenceTypes,
ReferenceContext context,
ReferenceSetAugmentorCallback callback)
As with
ReferenceSetAugmentor.augmentReferenceSet(ReferenceSet, Set, ReferenceContext)
but called in an asynchronous fashion. |
ReferenceSet |
ReferenceSetService.getReferenceSetWithAugmentation(T2Reference id,
Set<Class<ExternalReferenceSPI>> ensureTypes,
ReferenceContext context)
Functionality the same as
getReferenceSet but with the additional option to specify a set of
ExternalReferenceSPI classes. |
void |
ReferenceSetService.getReferenceSetWithAugmentationAsynch(T2Reference id,
Set<Class<ExternalReferenceSPI>> ensureTypes,
ReferenceContext context,
ReferenceSetServiceCallback callback)
Functionality as
getReferenceSetWithAugmentation but with the addition of a callback
interface to report the result or failure of the method. |
ReferenceSet |
ReferenceSetService.registerReferenceSet(Set<ExternalReferenceSPI> references,
ReferenceContext context)
Register a set of
ExternalReferenceSPI instances, all of which
should point to byte equivalent data, and return the newly created
ReferenceSet . |
Identified |
ReferenceService.resolveIdentifier(T2Reference id,
Set<Class<ExternalReferenceSPI>> ensureTypes,
ReferenceContext context)
Perform recursive identifier resolution, building a collection structure
of Identified objects, any collection elements being IdentifiedLists of
Identified subclasses.
|
void |
ReferenceService.resolveIdentifierAsynch(T2Reference id,
Set<Class<ExternalReferenceSPI>> ensureTypes,
ReferenceContext context,
ReferenceServiceResolutionCallback callback)
As resolveIdentifier but using a callback object and returning
immediately
|
Modifier and Type | Method and Description |
---|---|
ExternalReferenceSPI |
TranslationPath.getSourceReference() |
Modifier and Type | Method and Description |
---|---|
Set<ExternalReferenceSPI> |
ReferenceSetAugmentorImpl.augmentReferenceSet(ReferenceSet references,
Set<Class<ExternalReferenceSPI>> targetReferenceTypes,
ReferenceContext context) |
Set<ExternalReferenceSPI> |
TranslationPath.doTranslation(ReferenceSet rs,
ReferenceContext context) |
Set<ExternalReferenceSPI> |
ReferenceSetImpl.getExternalReferences() |
Class<? extends ExternalReferenceSPI> |
TranslationPath.getSourceType() |
Class<? extends ExternalReferenceSPI> |
TranslationPath.getTargetType() |
Modifier and Type | Method and Description |
---|---|
void |
TranslationPath.setSourceReference(ExternalReferenceSPI sourceReference) |
Modifier and Type | Method and Description |
---|---|
Set<ExternalReferenceSPI> |
ReferenceSetAugmentorImpl.augmentReferenceSet(ReferenceSet references,
Set<Class<ExternalReferenceSPI>> targetReferenceTypes,
ReferenceContext context) |
void |
ReferenceSetAugmentorImpl.augmentReferenceSetAsynch(ReferenceSet references,
Set<Class<ExternalReferenceSPI>> targetReferenceTypes,
ReferenceContext context,
ReferenceSetAugmentorCallback callback) |
ReferenceSet |
ReferenceSetServiceImpl.getReferenceSetWithAugmentation(T2Reference id,
Set<Class<ExternalReferenceSPI>> ensureTypes,
ReferenceContext context) |
void |
AbstractReferenceSetServiceImpl.getReferenceSetWithAugmentationAsynch(T2Reference id,
Set<Class<ExternalReferenceSPI>> ensureTypes,
ReferenceContext context,
ReferenceSetServiceCallback callback)
Functionality as
getReferenceSetWithAugmentation but with the addition of a callback
interface to report the result or failure of the method. |
ReferenceSet |
ReferenceSetServiceImpl.registerReferenceSet(Set<ExternalReferenceSPI> references,
ReferenceContext context) |
Identified |
ReferenceServiceImpl.resolveIdentifier(T2Reference id,
Set<Class<ExternalReferenceSPI>> ensureTypes,
ReferenceContext context)
Perform recursive identifier resolution, building a collection structure
of Identified objects, any collection elements being IdentifiedLists of
Identified subclasses.
|
void |
AbstractReferenceServiceImpl.resolveIdentifierAsynch(T2Reference id,
Set<Class<ExternalReferenceSPI>> ensureTypes,
ReferenceContext context,
ReferenceServiceResolutionCallback callback)
Wraps the synchronous form, using the executeRunnable method to schedule
it.
|
void |
ReferenceSetImpl.setExternalReferences(Set<ExternalReferenceSPI> newReferences)
This method is only ever called from within Hibernate, and is used to
initialize the set of external references.
|
Constructor and Description |
---|
ReferenceSetImpl(Set<ExternalReferenceSPI> references,
T2ReferenceImpl id)
Construct a new ReferenceSetImpl with the given set of external
references and identifier.
|
Modifier and Type | Class and Description |
---|---|
class |
FileReference
Implementation of ExternalReference used to refer to data held in a locally
accessible file.
|
Modifier and Type | Method and Description |
---|---|
ExternalReferenceSPI |
FileToFileReference.convert(Object o,
ReferenceContext context)
Return a FileReference
|
Modifier and Type | Class and Description |
---|---|
class |
HttpReference
Implementation of ExternalReference used to refer to data held in a locally
accessible file.
|
Modifier and Type | Method and Description |
---|---|
ExternalReferenceSPI |
UrlToHttpReference.convert(Object o,
ReferenceContext context)
Return a new HttpReference constructed from
((URL)o).toExternalForm() |
Modifier and Type | Class and Description |
---|---|
class |
InlineByteArrayReference
A reference implementation that inlines an array of bytes.
|
class |
InlineStringReference
Contains and references a String value
|
class |
VMObjectReference
Implementation of ExternalReferenceSPI used to refer to objects in the local
virtual machine.
|
Modifier and Type | Method and Description |
---|---|
ExternalReferenceSPI |
StringToStringReference.convert(Object o,
ReferenceContext context)
Return a new InlineStringReference wrapping the supplied String
|
ExternalReferenceSPI |
NumberToStringReference.convert(Object o,
ReferenceContext context)
Return a new InlineStringReference wrapping the supplied String
|
ExternalReferenceSPI |
CharacterToStringReference.convert(Object o,
ReferenceContext context)
Return a new
InlineStringReference wrapping the supplied String |
ExternalReferenceSPI |
ByteArrayToByteArrayReference.convert(Object o,
ReferenceContext context)
Return a new InlineByteArrayReference wrapping the supplied byte[]
|
ExternalReferenceSPI |
BooleanToStringReference.convert(Object o,
ReferenceContext context)
Return a new InlineStringReference wrapping the supplied String
|
Modifier and Type | Class and Description |
---|---|
class |
BlueReference
BlueReferences carry their data as an internal String and have a resolution
cost of 1.0f whatever the value of that string.
|
class |
GreenReference
GreenReferences carry their data as an internal String and have a resolution
cost of 1.1f whatever the value of that string.
|
class |
RedReference
RedReferences carry their data as an internal String and have a resolution
cost of 0.9f whatever the value of that string.
|
class |
YellowReference
YellowReferences carry their data as an internal String and have a resolution
cost of 1.0f whatever the value of that string.
|
Modifier and Type | Method and Description |
---|---|
ExternalReferenceSPI |
RedReference.clone() |
ExternalReferenceSPI |
YellowReference.clone() |
ExternalReferenceSPI |
GreenReference.clone() |
ExternalReferenceSPI |
BlueReference.clone() |
Modifier and Type | Method and Description |
---|---|
Set<ExternalReferenceSPI> |
DummyReferenceSet.getExternalReferences() |
Constructor and Description |
---|
DummyReferenceSet(ExternalReferenceSPI ref) |
Modifier and Type | Method and Description |
---|---|
ActivityInputPort |
Edits.createActivityInputPort(String portName,
int portDepth,
boolean allowsLiteralValues,
List<Class<? extends ExternalReferenceSPI>> handledReferenceSchemes,
Class<?> translatedElementClass)
Builds an instance of an
InputPort for an Activity. |
Modifier and Type | Method and Description |
---|---|
ActivityInputPort |
EditsImpl.createActivityInputPort(String portName,
int portDepth,
boolean allowsLiteralValues,
List<Class<? extends ExternalReferenceSPI>> handledReferenceSchemes,
Class<?> translatedElementClass)
Builds an instance of
ActivityInputPortImpl |
Modifier and Type | Method and Description |
---|---|
List<Class<? extends ExternalReferenceSPI>> |
ActivityInputPort.getHandledReferenceSchemes()
Declares that the DataDocument instances fed as input data (either
directly or as elements of a collection) to this input port must contain
at least one of the specified ReferenceScheme types.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractActivity.addInput(String portName,
int portDepth,
boolean allowsLiteralValues,
List<Class<? extends ExternalReferenceSPI>> handledReferenceSchemes,
Class<?> translatedElementClass)
Creates and adds a new input port with the provided properties.
|
Modifier and Type | Method and Description |
---|---|
List<Class<? extends ExternalReferenceSPI>> |
ActivityInputPortDefinitionBean.getHandledReferenceSchemes() |
Modifier and Type | Method and Description |
---|---|
void |
ActivityInputPortDefinitionBean.setHandledReferenceSchemes(List<Class<? extends ExternalReferenceSPI>> handledReferenceSchemes) |
Modifier and Type | Method and Description |
---|---|
List<Class<? extends ExternalReferenceSPI>> |
ActivityInputPortImpl.getHandledReferenceSchemes() |
Constructor and Description |
---|
ActivityInputPortImpl(String portName,
int portDepth,
boolean allowsLiteralValues,
List<Class<? extends ExternalReferenceSPI>> handledReferenceSchemes,
Class<?> translatedElementClass)
Constructs an Activity input port with the provided name and depth,
together with a list of predetermined annotations.
|
Copyright © 2015–2016 The Apache Software Foundation. All rights reserved.