public class ManagerRestClient extends Object
| Constructor and Description |
|---|
ManagerRestClient(org.apache.maven.plugin.logging.Log log,
ManagerProperties managerProperties) |
| Modifier and Type | Method and Description |
|---|---|
io.saagie.maven.ManagerRestClient.Job |
checkJobExists() |
void |
checkManagerConnection() |
Integer |
createJob(String body) |
void |
updateJob(io.saagie.maven.ManagerRestClient.Job job) |
String |
uploadFile(String directory,
String path) |
public ManagerRestClient(org.apache.maven.plugin.logging.Log log,
ManagerProperties managerProperties)
throws NoSuchAlgorithmException,
KeyStoreException,
KeyManagementException
public void checkManagerConnection()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionpublic String uploadFile(String directory, String path) throws URISyntaxException, IOException, org.apache.maven.plugin.MojoExecutionException
URISyntaxExceptionIOExceptionorg.apache.maven.plugin.MojoExecutionExceptionpublic Integer createJob(String body) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionpublic io.saagie.maven.ManagerRestClient.Job checkJobExists()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionpublic void updateJob(io.saagie.maven.ManagerRestClient.Job job)
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionCopyright © 2016. All rights reserved.