Class CheckMethod
- java.lang.Object
-
- org.gcube.dataanalysis.dataminer.poolmanager.util.CheckMethod
-
- Direct Known Subclasses:
CheckMethodProduction,CheckMethodStaging
public abstract class CheckMethod extends Object
-
-
Constructor Summary
Constructors Constructor Description CheckMethod(Configuration configuration)
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidcheckMethod(String machine, String token)voidcopyAlgorithms(Algorithm algo)protected abstract voidcopyFromDmToSVN(File a)protected voidcopyFromDmToSVN(File algorithmsFile, SVNUpdater svnUpdater)voiddeleteFiles(Algorithm a)booleandoesExist(String path)static List<String>getFiles(String a)
-
-
-
Constructor Detail
-
CheckMethod
public CheckMethod(Configuration configuration)
-
-
Method Detail
-
checkMethod
public void checkMethod(String machine, String token) throws AlgorithmException
- Throws:
AlgorithmException
-
copyAlgorithms
public void copyAlgorithms(Algorithm algo) throws SVNCommitException, GenericException, AlgorithmException
-
deleteFiles
public void deleteFiles(Algorithm a) throws GenericException
- Throws:
GenericException
-
copyFromDmToSVN
protected abstract void copyFromDmToSVN(File a) throws SVNCommitException, Exception
- Throws:
SVNCommitExceptionException
-
copyFromDmToSVN
protected void copyFromDmToSVN(File algorithmsFile, SVNUpdater svnUpdater) throws org.tmatesoft.svn.core.SVNException, SVNCommitException, com.jcraft.jsch.JSchException, com.jcraft.jsch.SftpException
- Throws:
org.tmatesoft.svn.core.SVNExceptionSVNCommitExceptioncom.jcraft.jsch.JSchExceptioncom.jcraft.jsch.SftpException
-
-