|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jenkinsci.plugins.relution.net.RequestFactory
public class RequestFactory
Constructor Summary | |
---|---|
RequestFactory()
|
Method Summary | |
---|---|
Request |
createAnalyzeUploadedApplication(String uploadToken,
String UUID)
Creates an request which could be send against the relution. |
Request |
createAppStoreItemsRequest()
With these created request you could retrieve the apps stored in the relution store. |
Request |
createUploadedApplicationInformationRequest(String appObject)
Creates an request that could be send against the relution with an APIObject. |
Request |
createUploadRequest(String uploadToken,
File file)
Creates an request which could be send against the relution. |
String |
getRelutionApiUrl()
|
String |
getRelutionOrganization()
|
String |
getRelutionPassword()
|
String |
getRelutionReleaseStatus()
|
String |
getRelutionUsername()
|
String |
send(Request request)
send the request with org.apache.http |
void |
setRelutionApiUrl(String relutionApiUrl)
|
void |
setRelutionCookieStore(org.apache.http.impl.client.BasicCookieStore relutionCookieStore)
|
void |
setRelutionOrganization(String relutionOrganization)
|
void |
setRelutionPassword(String relutionPassword)
|
void |
setRelutionProxyHost(org.apache.http.HttpHost relutionProxyHost)
|
void |
setRelutionReleaseStatus(String relutionReleaseStatus)
|
void |
setRelutionUsername(String relutionUsername)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RequestFactory()
Method Detail |
---|
public String send(Request request) throws URISyntaxException, org.apache.http.ParseException, org.apache.http.client.ClientProtocolException, IOException
request
- request should be send
URISyntaxException
org.apache.http.ParseException
org.apache.http.client.ClientProtocolException
IOException
public Request createAppStoreItemsRequest()
public Request createUploadRequest(String uploadToken, File file)
uploadToken
- empty stringfile
- file which should be created
public Request createAnalyzeUploadedApplication(String uploadToken, String UUID)
uploadToken
- empty StringUUID
- uuid of the Object which should be checked
public Request createUploadedApplicationInformationRequest(String appObject)
appObject
- The APIObject returned in an previous step
public String getRelutionPassword()
public void setRelutionPassword(String relutionPassword)
relutionPassword
- Sets entry of the textfield apiPassword.public String getRelutionReleaseStatus()
public void setRelutionReleaseStatus(String relutionReleaseStatus)
relutionReleaseStatus
- Sets entry of the textfield apiReleaseStatus.public String getRelutionApiUrl()
public void setRelutionApiUrl(String relutionApiUrl)
relutionApiUrl
- Communication endpoint to set.public void setRelutionProxyHost(org.apache.http.HttpHost relutionProxyHost)
relutionProxyHost
- HttpHost to be set.public void setRelutionCookieStore(org.apache.http.impl.client.BasicCookieStore relutionCookieStore)
relutionCookieStore
- BasicCookieStore to set.public String getRelutionUsername()
public void setRelutionUsername(String relutionUsername)
relutionUsername
- Sets entry of the textfield apiUsername.public String getRelutionOrganization()
public void setRelutionOrganization(String relutionOrganization)
relutionOrganization
- Sets entry of the textfield apiOrganization.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |