Class CloudHubRequestFactory
- java.lang.Object
-
- org.jenkinsci.plugins.cloudhubdeployer.CloudHubRequestFactory
-
public class CloudHubRequestFactory extends Object
Factory to createCloudhub Request
objects- Version:
- 1.0.0
- Author:
- Vikas Chaudhary
-
-
Method Summary
-
-
-
Method Detail
-
request
public static CloudHubRequestFactory request()
-
withUrl
public CloudHubRequestFactory withUrl(String url)
-
withApiDomainName
public CloudHubRequestFactory withApiDomainName(String apiDomainName)
-
withCloushubCredentials
public CloudHubRequestFactory withCloushubCredentials(com.cloudbees.plugins.credentials.common.StandardCredentials cloudhubCredentials)
-
withOrgId
public CloudHubRequestFactory withOrgId(String orgId)
-
withEnvironmetId
public CloudHubRequestFactory withEnvironmetId(String value)
-
withTimeoutConnect
public CloudHubRequestFactory withTimeoutConnect(int timeoutConnect)
-
withTimeoutResponse
public CloudHubRequestFactory withTimeoutResponse(int timeoutResponse)
-
withLogger
public CloudHubRequestFactory withLogger(PrintStream logger)
-
withRequestMode
public CloudHubRequestFactory withRequestMode(RequestMode requestMode)
-
withDebugMode
public CloudHubRequestFactory withDebugMode(DebugMode debugMode)
-
withAutoStart
public CloudHubRequestFactory withAutoStart(String autoStart)
-
withAppInfoJson
public CloudHubRequestFactory withAppInfoJson(AppInfoJson appInfoJson)
-
withAccessToken
public CloudHubRequestFactory withAccessToken(String accessToken)
-
withAutoScalepolicy
public CloudHubRequestFactory withAutoScalepolicy(Boolean enableAutoScalePolicy, List<AutoScalePolicy> autoScalePolicy)
-
withFilePath
public CloudHubRequestFactory withFilePath(hudson.FilePath workspace, String filePath)
-
build
public CloudHubRequest build() throws ValidationException
- Throws:
ValidationException
-
-