public class DataminerPoolManager extends Object implements PoolManager
| Constructor and Description |
|---|
DataminerPoolManager() |
public String getScriptFromURL(URL url) throws IOException
getScriptFromURL in interface PoolManagerIOExceptionpublic String addAlgorithmToVRE(Algorithm algorithm, String vre) throws IOException
addAlgorithmToVRE in interface PoolManageralgorithmName - vre - IOExceptionpublic String addAlgorithmToHost(Algorithm algorithm, String hostname) 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) throws IOException
IOExceptionpublic String addAlgorithmsToHost(AlgorithmSet algorithms, String hostname, String uuid) throws IOException
IOExceptionpublic List<String> updateSVN(String file, List<String> ldep) throws org.tmatesoft.svn.core.SVNException, IOException
updateSVN in interface PoolManagerorg.tmatesoft.svn.core.SVNExceptionIOExceptionpublic static String md5(byte[] contents)
public 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 PoolManagerCopyright © 2017. All Rights Reserved.