Class ArtifactProvider
- java.lang.Object
-
- com.zebrunner.carina.utils.mobile.ArtifactProvider
-
- All Implemented Interfaces:
com.zebrunner.carina.commons.artifact.IArtifactManager
public final class ArtifactProvider extends java.lang.Object implements com.zebrunner.carina.commons.artifact.IArtifactManager
-
-
Constructor Summary
Constructors Constructor Description ArtifactProvider()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
delete(java.lang.String url)
boolean
download(java.lang.String from, java.nio.file.Path to)
java.lang.String
getDirectLink(java.lang.String url)
static com.zebrunner.carina.commons.artifact.IArtifactManager
getInstance()
boolean
put(java.nio.file.Path from, java.lang.String to)
-
-
-
Method Detail
-
getInstance
public static com.zebrunner.carina.commons.artifact.IArtifactManager getInstance()
-
download
public boolean download(java.lang.String from, java.nio.file.Path to)
- Specified by:
download
in interfacecom.zebrunner.carina.commons.artifact.IArtifactManager
-
put
public boolean put(java.nio.file.Path from, java.lang.String to) throws java.io.FileNotFoundException
- Specified by:
put
in interfacecom.zebrunner.carina.commons.artifact.IArtifactManager
- Throws:
java.io.FileNotFoundException
-
delete
public boolean delete(java.lang.String url)
- Specified by:
delete
in interfacecom.zebrunner.carina.commons.artifact.IArtifactManager
-
getDirectLink
public java.lang.String getDirectLink(java.lang.String url)
- Specified by:
getDirectLink
in interfacecom.zebrunner.carina.commons.artifact.IArtifactManager
-
-