public class RemoteTransformationsGraph extends Object implements TransformationsGraph
Implementation of TransformationsGraph which finds the available transformationUnit units by invoking a remote graph service.
| Constructor and Description |
|---|
RemoteTransformationsGraph(IManager iManager,
String remoteGraphEndpoint)
Instantiates the RemoteTransformationsGraph.
|
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Destroys the graph.
|
ArrayList<TransformationUnit> |
findAnyTransformationUnits(ContentType sourceContentType,
ContentType targetContentType,
boolean createAndPublishCompositeTP)
Finds Transformation Units from the sourceContentType to the targetContentType.
|
ArrayList<TransformationUnit> |
findApplicableTransformationUnits(ContentType sourceContentType,
ContentType targetContentType,
boolean createAndPublishCompositeTP)
Finds applicable Transformation Units from the sourceContentType to the targetContentType.
|
ArrayList<ContentType> |
findAvailableTargetContentTypes(ContentType sourceContentType)
Finds the available target ContentTypes from the sourceContentType.
|
public RemoteTransformationsGraph(IManager iManager, String remoteGraphEndpoint) throws Exception
iManager - The IManager from which the graph will use to find information about transformationUnit programs.remoteGraphEndpoint - The endpoind reference of the remote graph.Exception - If the service call could not be created.public ArrayList<TransformationUnit> findApplicableTransformationUnits(ContentType sourceContentType, ContentType targetContentType, boolean createAndPublishCompositeTP)
TransformationsGraphfindApplicableTransformationUnits in interface TransformationsGraphsourceContentType - The ContentType of the source DataElement.targetContentType - The ContentType of the target DataElement.createAndPublishCompositeTP - If true then a new composite TransformationProgram is created and published if no available TransformationProgram exists.TransformationsGraph.findApplicableTransformationUnits(org.gcube.datatransformation.datatransformationlibrary.model.ContentType, org.gcube.datatransformation.datatransformationlibrary.model.ContentType, boolean)public ArrayList<TransformationUnit> findAnyTransformationUnits(ContentType sourceContentType, ContentType targetContentType, boolean createAndPublishCompositeTP)
TransformationsGraphfindAnyTransformationUnits in interface TransformationsGraphsourceContentType - The ContentType of the source DataElement.targetContentType - The ContentType of the target DataElement.createAndPublishCompositeTP - If true then a new composite TransformationProgram is created and published if no available TransformationProgram exists.TransformationsGraph.findAnyTransformationUnits(org.gcube.datatransformation.datatransformationlibrary.model.ContentType, org.gcube.datatransformation.datatransformationlibrary.model.ContentType, boolean)public ArrayList<ContentType> findAvailableTargetContentTypes(ContentType sourceContentType)
TransformationsGraphfindAvailableTargetContentTypes in interface TransformationsGraphsourceContentType - The ContentType of the source DataElement.TransformationsGraph.findAvailableTargetContentTypes(org.gcube.datatransformation.datatransformationlibrary.model.ContentType)public void destroy()
TransformationsGraphdestroy in interface TransformationsGraphTransformationsGraph.destroy()Copyright © 2014. All Rights Reserved.