|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jenkinsci.plugins.relution.RelutionCommunicator
public class RelutionCommunicator
Constructor Summary | |
---|---|
RelutionCommunicator(String apiEndpoint,
String apiUsername,
String apiPassword,
String apiOrganization,
String proxyHost,
String apiReleaseStatus,
int proxyPort,
RequestFactory requestFactory)
Constructor to create a Communicator for Relution. |
Method Summary | |
---|---|
String |
analyzeUploadedApplication(String uploadToken,
String UUID,
String appIcon,
String releaseStatus,
String appName,
String appReleaseNotes,
String appDescription,
org.apache.tools.ant.types.FileSet fileSet,
RelutionCommunicator communicator)
Analyze the uploaded application |
RequestFactory |
getRequestFactory()
getting the Factory an specific communicator |
ApplicationInformation |
saveApplicationInformation(String appObject)
Obtain information stored in the app store for the given UUID |
void |
setRequestFactory(RequestFactory requestFactory)
setting an Factory for an specific communicator |
String |
uploadApplicationAsset(String uploadToken,
File file)
Upload the application file and return the token for analyzing |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RelutionCommunicator(String apiEndpoint, String apiUsername, String apiPassword, String apiOrganization, String proxyHost, String apiReleaseStatus, int proxyPort, RequestFactory requestFactory)
apiEndpoint
- URL to which the communcator connectsapiUsername
- login with the specified UserapiPassword
- login with the specified PasswordapiOrganization
- login with the specified OrganizationapiReleaseStatus
- proxyHost
- necessary Host for remote debuggingproxyPort
- necessary Port for remote debuggingrequestFactory
- handles the creation of the requestsMethod Detail |
---|
public void setRequestFactory(RequestFactory requestFactory)
requestFactory
- public RequestFactory getRequestFactory()
public String uploadApplicationAsset(String uploadToken, File file) throws URISyntaxException, org.apache.http.ParseException, org.apache.http.client.ClientProtocolException, IOException
uploadToken
- file
-
URISyntaxException
org.apache.http.ParseException
org.apache.http.client.ClientProtocolException
IOException
public String analyzeUploadedApplication(String uploadToken, String UUID, String appIcon, String releaseStatus, String appName, String appReleaseNotes, String appDescription, org.apache.tools.ant.types.FileSet fileSet, RelutionCommunicator communicator) throws URISyntaxException, org.apache.http.ParseException, org.apache.http.client.ClientProtocolException, IOException, IllegalArgumentException, IllegalAccessException
uploadToken
- UUID
- unique ID of the App that should be uploaded.
URISyntaxException
org.apache.http.ParseException
org.apache.http.client.ClientProtocolException
IOException
IllegalArgumentException
IllegalAccessException
public ApplicationInformation saveApplicationInformation(String appObject) throws URISyntaxException, org.apache.http.ParseException, org.apache.http.client.ClientProtocolException, IOException
UUID
-
URISyntaxException
org.apache.http.ParseException
org.apache.http.client.ClientProtocolException
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |