|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gcube.datatransformation.datatransformationlibrary.model.graph.RemoteTransformationsGraph
public class RemoteTransformationsGraph
Implementation of TransformationsGraph which finds the available transformationUnit units by invoking a remote graph service.
| Constructor Summary | |
|---|---|
RemoteTransformationsGraph(IManager iManager,
String remoteGraphEndpoint)
Instantiates the RemoteTransformationsGraph. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
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.| Method Detail |
|---|
public ArrayList<TransformationUnit> findApplicableTransformationUnits(ContentType sourceContentType,
ContentType targetContentType,
boolean createAndPublishCompositeTP)
TransformationsGraph
findApplicableTransformationUnits 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)
TransformationsGraph
findAnyTransformationUnits 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)
TransformationsGraph
findAvailableTargetContentTypes in interface TransformationsGraphsourceContentType - The ContentType of the source DataElement.
TransformationsGraph.findAvailableTargetContentTypes(org.gcube.datatransformation.datatransformationlibrary.model.ContentType)public void destroy()
TransformationsGraph
destroy in interface TransformationsGraphTransformationsGraph.destroy()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||