public class DataminerPoolManager extends Object implements PoolManager
| Constructor and Description |
|---|
DataminerPoolManager() |
| Modifier and Type | Method and Description |
|---|---|
String |
addAlgorithmsToHost(AlgorithmSet algorithms,
String hostname,
String uuid,
boolean updateSVN) |
String |
addAlgorithmsToVRE(AlgorithmSet algorithms,
String vre,
String uuid,
boolean updateSVN) |
String |
addAlgorithmToHost(Algorithm algorithm,
String hostname,
boolean updateSVN) |
String |
addAlgorithmToVRE(Algorithm algorithm,
String vre,
boolean updateSVN)
Publish the given algorithm in the given VRE
|
void |
addAlgToIs(Algorithm algo) |
Algorithm |
extractAlgorithm(String url) |
Set<Algorithm> |
getAlgoFromIs() |
String |
getLogById(String logId) |
void |
getLogId(Algorithm algo,
String vre) |
String |
getScriptFromURL(URL url) |
URL |
getURLfromWorkerLog(String a) |
void |
publishScopedResource(org.gcube.common.resources.gcore.GenericResource a,
List<String> scopes) |
void |
unPublishScopedResource(org.gcube.common.resources.gcore.GenericResource resource) |
void |
updateAlg(Algorithm algo) |
List<String> |
updateSVN(String file,
List<String> ldep) |
public String getScriptFromURL(URL url) throws IOException
getScriptFromURL in interface PoolManagerIOExceptionpublic String addAlgorithmToVRE(Algorithm algorithm, String vre, boolean updateSVN) throws IOException
addAlgorithmToVRE in interface PoolManageralgorithmName - vre - IOExceptionpublic String addAlgorithmToHost(Algorithm algorithm, String hostname, boolean updateSVN) throws IOException
addAlgorithmToHost in interface PoolManagerIOExceptionpublic URL getURLfromWorkerLog(String a) throws MalformedURLException, UnknownHostException
getURLfromWorkerLog in interface PoolManagerMalformedURLExceptionUnknownHostExceptionpublic String addAlgorithmsToVRE(AlgorithmSet algorithms, String vre, String uuid, boolean updateSVN) throws IOException, InterruptedException, org.tmatesoft.svn.core.SVNException
IOExceptionInterruptedExceptionorg.tmatesoft.svn.core.SVNExceptionpublic String addAlgorithmsToHost(AlgorithmSet algorithms, String hostname, String uuid, boolean updateSVN) throws IOException, InterruptedException, org.tmatesoft.svn.core.SVNException
IOExceptionInterruptedExceptionorg.tmatesoft.svn.core.SVNExceptionpublic Algorithm extractAlgorithm(String url) throws IOException
extractAlgorithm in interface PoolManagerIOExceptionpublic void getLogId(Algorithm algo, String vre)
getLogId in interface PoolManagerpublic String getLogById(String logId) throws IOException
getLogById in interface PoolManagerIOExceptionpublic void unPublishScopedResource(org.gcube.common.resources.gcore.GenericResource resource)
throws org.gcube.informationsystem.publisher.exception.RegistryNotFoundException,
Exception
org.gcube.informationsystem.publisher.exception.RegistryNotFoundExceptionExceptionpublic void publishScopedResource(org.gcube.common.resources.gcore.GenericResource a,
List<String> scopes)
throws org.gcube.informationsystem.publisher.exception.RegistryNotFoundException,
Exception
org.gcube.informationsystem.publisher.exception.RegistryNotFoundExceptionExceptionpublic void addAlgToIs(Algorithm algo)
addAlgToIs in interface PoolManagerpublic void updateAlg(Algorithm algo)
public Set<Algorithm> getAlgoFromIs()
getAlgoFromIs in interface PoolManagerpublic List<String> updateSVN(String file, List<String> ldep) throws org.tmatesoft.svn.core.SVNException, IOException
updateSVN in interface PoolManagerorg.tmatesoft.svn.core.SVNExceptionIOExceptionCopyright © 2017. All Rights Reserved.