| Constructor and Description |
|---|
LocalInfoManager() |
| Modifier and Type | Method and Description |
|---|---|
String[] |
getAvailableTransformationProgramIDs()
Returns the available Transformation Program IDs.
|
TransformationProgram |
getTransformationProgram(String transformationProgramID)
Returns a
TransformationProgram instance by its id. |
TransformationUnit |
getTransformationUnit(String transformationProgramID,
String transformationUnitID)
Returns a
TransformationUnit instance by its id. |
void |
publishTransformationProgram(TransformationProgram transformationProgram)
Publishes a Transformation Program to the registry.
|
String |
queryTransformationPrograms(String query)
Queries Transformation Programs.
|
void |
setProgramsFile(String programsFile)
Sets the xml document from which the LocalInfoManager will read information for Transformation Programs
|
public TransformationProgram getTransformationProgram(String transformationProgramID) throws Exception
IManagerTransformationProgram instance by its id.getTransformationProgram in interface IManagertransformationProgramID - The id of the Transformation Program.Exception - If the IManager did not manage to fetch the Transformation Program from the registry.IManager.getTransformationProgram(java.lang.String)public TransformationUnit getTransformationUnit(String transformationProgramID, String transformationUnitID) throws Exception
IManagerTransformationUnit instance by its id.getTransformationUnit in interface IManagertransformationProgramID - The id of the Transformation Program in which the Transformation Unit belongs to.transformationUnitID - The id of the Transformation Unit.Exception - If the IManager did not manage to fetch the Transformation Unit from the registry.IManager.getTransformationUnit(java.lang.String, java.lang.String)public void setProgramsFile(String programsFile)
programsFile - The xml document from which the LocalInfoManager will read information for Transformation Programspublic String[] getAvailableTransformationProgramIDs() throws Exception
IManagergetAvailableTransformationProgramIDs in interface IManagerException - If the available Transformation Program IDs could not be fetched from the registry.IManager.getAvailableTransformationProgramIDs()public void publishTransformationProgram(TransformationProgram transformationProgram) throws Exception
IManagerpublishTransformationProgram in interface IManagertransformationProgram - The Transformation Program instance which will be published.Exception - If the Transformation Program could not be published.IManager.publishTransformationProgram(org.gcube.datatransformation.datatransformationlibrary.model.TransformationProgram)public String queryTransformationPrograms(String query) throws Exception
IManagerqueryTransformationPrograms in interface IManagerquery - The query.Exception - If the query could not be performed.IManager.queryTransformationPrograms(java.lang.String)Copyright © 2014. All Rights Reserved.