Package org.aerogear.kryptowire
Class KryptowireServiceImpl
java.lang.Object
org.aerogear.kryptowire.KryptowireServiceImpl
- All Implemented Interfaces:
KryptowireService
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.aerogear.kryptowire.KryptowireService
KryptowireService.AnalysisStatus -
Constructor Summary
ConstructorsConstructorDescriptionKryptowireServiceImpl(String apiEndpoint, String apiKey) KryptowireServiceImpl(String apiEndpoint, String apiKey, org.apache.http.client.HttpClient httpclient) -
Method Summary
Modifier and TypeMethodDescriptionvoiddownloadReport(String hash, String type, File targetFile) org.json.JSONObjectbooleanisCompleted(String hash) voidsetApiEndpoint(String apiEndpoint) voidorg.json.JSONObjectorg.json.JSONObject
-
Constructor Details
-
KryptowireServiceImpl
-
KryptowireServiceImpl
-
-
Method Details
-
getApiKey
-
getApiEndpoint
-
setApiKey
-
setApiEndpoint
-
submit
public org.json.JSONObject submit(String platform, FilePath filePath) throws IOException, InterruptedException - Specified by:
submitin interfaceKryptowireService- Throws:
IOExceptionInterruptedException
-
submit
public org.json.JSONObject submit(String platform, FilePath filePath, FilePath appiumScript) throws IOException, InterruptedException - Specified by:
submitin interfaceKryptowireService- Throws:
IOExceptionInterruptedException
-
getStatus
public KryptowireService.AnalysisStatus getStatus(String hash) throws IOException, InterruptedException - Specified by:
getStatusin interfaceKryptowireService- Throws:
IOExceptionInterruptedException
-
getResult
- Specified by:
getResultin interfaceKryptowireService- Throws:
IOExceptionInterruptedException
-
downloadReport
public void downloadReport(String hash, String type, File targetFile) throws IOException, InterruptedException - Specified by:
downloadReportin interfaceKryptowireService- Throws:
IOExceptionInterruptedException
-
isCompleted
- Specified by:
isCompletedin interfaceKryptowireService- Throws:
IOExceptionInterruptedException
-