Class CloudHubDeployer
- java.lang.Object
-
- hudson.tasks.BuildStepCompatibilityLayer
-
- hudson.tasks.Builder
-
- org.jenkinsci.plugins.cloudhubdeployer.CloudHubDeployer
-
- All Implemented Interfaces:
hudson.ExtensionPoint
,hudson.model.Describable<hudson.tasks.Builder>
,hudson.tasks.BuildStep
,jenkins.tasks.SimpleBuildStep
public class CloudHubDeployer extends hudson.tasks.Builder implements jenkins.tasks.SimpleBuildStep
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CloudHubDeployer.DescriptorImpl
-
Nested classes/interfaces inherited from interface hudson.tasks.BuildStep
hudson.tasks.BuildStep.PublisherList
-
-
Constructor Summary
Constructors Constructor Description CloudHubDeployer(String credentialsId, String environmentId, String orgId, RequestMode requestMode, String appName, String muleVersion, String region, String filePath)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
perform(hudson.model.Run<?,?> run, hudson.FilePath workspace, hudson.Launcher launcher, hudson.model.TaskListener listener)
void
setAutoScalePolicy(List<AutoScalePolicy> autoScalePolicy)
void
setAutoStart(boolean autoStart)
void
setCredentialsId(String credentialsId)
void
setDebugMode(DebugMode debugMode)
void
setEnableAutoScalePolicy(Boolean enableAutoScalePolicy)
void
setEnvVars(List<EnvVars> envVars)
void
setIgnoreGlobalSettings(boolean ignoreGlobalSettings)
void
setLoggingNgEnabled(boolean loggingNgEnabled)
void
setLogLevels(List<LogLevels> logLevels)
void
setMonitoringAutoRestart(boolean monitoringAutoRestart)
void
setMonitoringEnabled(boolean monitoringEnabled)
void
setObjectStoreV1(boolean objectStoreV1)
void
setPersistentQueues(boolean persistentQueues)
void
setPersistentQueuesEncrypted(boolean persistentQueuesEncrypted)
void
setRegion(String region)
void
setRequestMode(RequestMode requestMode)
void
setTimeoutConnection(int timeoutConnection)
void
setTimeoutResponse(int timeoutResponse)
void
setVerifyDeployments(boolean verifyDeployments)
void
setVerifyIntervalInSeconds(int verifyIntervalInSeconds)
void
setWorkerAmount(int workerAmount)
void
setWorkerCpu(String workerCpu)
void
setWorkerMemory(String workerMemory)
void
setWorkerType(String workerType)
void
setWorkerWeight(String workerWeight)
-
Methods inherited from class hudson.tasks.Builder
all, getDescriptor, getRequiredMonitorService, prebuild
-
Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, getProjectAction, getProjectActions, perform, perform, prebuild
-
-
-
-
Method Detail
-
setRequestMode
@DataBoundSetter public void setRequestMode(RequestMode requestMode)
-
setTimeoutConnection
@DataBoundSetter public void setTimeoutConnection(int timeoutConnection)
-
setTimeoutResponse
@DataBoundSetter public void setTimeoutResponse(int timeoutResponse)
-
setDebugMode
@DataBoundSetter public void setDebugMode(DebugMode debugMode)
-
setIgnoreGlobalSettings
@DataBoundSetter public void setIgnoreGlobalSettings(boolean ignoreGlobalSettings)
-
setRegion
@DataBoundSetter public void setRegion(String region)
-
setAutoStart
@DataBoundSetter public void setAutoStart(boolean autoStart)
-
setCredentialsId
@DataBoundSetter public void setCredentialsId(String credentialsId)
-
setWorkerAmount
@DataBoundSetter public void setWorkerAmount(int workerAmount)
-
setWorkerType
@DataBoundSetter public void setWorkerType(String workerType)
-
setWorkerWeight
@DataBoundSetter public void setWorkerWeight(String workerWeight)
-
setWorkerCpu
@DataBoundSetter public void setWorkerCpu(String workerCpu)
-
setWorkerMemory
@DataBoundSetter public void setWorkerMemory(String workerMemory)
-
setMonitoringEnabled
@DataBoundSetter public void setMonitoringEnabled(boolean monitoringEnabled)
-
setMonitoringAutoRestart
@DataBoundSetter public void setMonitoringAutoRestart(boolean monitoringAutoRestart)
-
setLoggingNgEnabled
@DataBoundSetter public void setLoggingNgEnabled(boolean loggingNgEnabled)
-
setPersistentQueues
@DataBoundSetter public void setPersistentQueues(boolean persistentQueues)
-
setPersistentQueuesEncrypted
@DataBoundSetter public void setPersistentQueuesEncrypted(boolean persistentQueuesEncrypted)
-
setObjectStoreV1
@DataBoundSetter public void setObjectStoreV1(boolean objectStoreV1)
-
setVerifyDeployments
@DataBoundSetter public void setVerifyDeployments(boolean verifyDeployments)
-
setVerifyIntervalInSeconds
@DataBoundSetter public void setVerifyIntervalInSeconds(int verifyIntervalInSeconds)
-
setEnableAutoScalePolicy
@DataBoundSetter public void setEnableAutoScalePolicy(Boolean enableAutoScalePolicy)
-
setAutoScalePolicy
@DataBoundSetter public void setAutoScalePolicy(List<AutoScalePolicy> autoScalePolicy)
-
perform
public void perform(hudson.model.Run<?,?> run, @Nonnull hudson.FilePath workspace, @Nonnull hudson.Launcher launcher, @Nonnull hudson.model.TaskListener listener) throws InterruptedException, IOException
- Specified by:
perform
in interfacejenkins.tasks.SimpleBuildStep
- Throws:
InterruptedException
IOException
-
-