Class BaremetalCloudAgentTemplate
- java.lang.Object
-
- com.oracle.cloud.baremetal.jenkins.BaremetalCloudAgentTemplate
-
- All Implemented Interfaces:
Describable<BaremetalCloudAgentTemplate>
public class BaremetalCloudAgentTemplate extends Object implements Describable<BaremetalCloudAgentTemplate>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BaremetalCloudAgentTemplate.DescriptorImpl
-
Field Summary
-
Constructor Summary
Constructors Constructor Description BaremetalCloudAgentTemplate(String compartmentId, String availableDomain, String vcnCompartmentId, String vcnId, String subnetCompartmentId, String subnetId, List<BaremetalCloudNsgTemplate> nsgIds, String imageCompartmentId, String imageId, String shape, String sshCredentialsId, String description, String remoteFS, Boolean assignPublicIP, Boolean usePublicIP, String numExecutors, Node.Mode mode, String labelString, String idleTerminationMinutes, int templateId, String jenkinsAgentUser, String customJavaPath, String customJVMOpts, String initScript, Boolean exportJenkinsEnvVars, String sshConnectTimeoutSeconds, Boolean verificationStrategy, String startTimeoutSeconds, String initScriptTimeoutSeconds, String instanceCap, String numberOfOcpus, Boolean autoImageUpdate, Boolean stopOnIdle, List<BaremetalCloudTagsTemplate> tags, String instanceNamePrefix, String memoryInGBs, Boolean doNotDisable, String retryTimeoutMins)
-
Method Summary
-
-
-
Field Detail
-
compartmentId
public final String compartmentId
-
availableDomain
public final String availableDomain
-
vcnCompartmentId
public final String vcnCompartmentId
-
vcnId
public final String vcnId
-
subnetCompartmentId
public final String subnetCompartmentId
-
subnetId
public final String subnetId
-
nsgIds
public final List<BaremetalCloudNsgTemplate> nsgIds
-
imageCompartmentId
public final String imageCompartmentId
-
shape
public final String shape
-
sshCredentialsId
public final String sshCredentialsId
-
description
public final String description
-
labelString
public final String labelString
-
mode
public final Node.Mode mode
-
jenkinsAgentUser
public final String jenkinsAgentUser
-
customJavaPath
public final String customJavaPath
-
customJVMOpts
public final String customJVMOpts
-
initScript
public final String initScript
-
exportJenkinsEnvVars
public final Boolean exportJenkinsEnvVars
-
numExecutors
public final String numExecutors
-
idleTerminationMinutes
public final String idleTerminationMinutes
-
templateId
public final int templateId
-
remoteFS
public final String remoteFS
-
assignPublicIP
public final Boolean assignPublicIP
-
usePublicIP
public final Boolean usePublicIP
-
startTimeoutSeconds
public final String startTimeoutSeconds
-
verificationStrategy
public boolean verificationStrategy
-
sshConnectTimeoutSeconds
public final String sshConnectTimeoutSeconds
-
initScriptTimeoutSeconds
public final String initScriptTimeoutSeconds
-
instanceCap
public final String instanceCap
-
numberOfOcpus
public final String numberOfOcpus
-
autoImageUpdate
public final Boolean autoImageUpdate
-
stopOnIdle
public final Boolean stopOnIdle
-
tags
public final List<BaremetalCloudTagsTemplate> tags
-
instanceNamePrefix
public final String instanceNamePrefix
-
memoryInGBs
public final String memoryInGBs
-
doNotDisable
public final Boolean doNotDisable
-
retryTimeoutMins
public final String retryTimeoutMins
-
-
Constructor Detail
-
BaremetalCloudAgentTemplate
@DataBoundConstructor public BaremetalCloudAgentTemplate(String compartmentId, String availableDomain, String vcnCompartmentId, String vcnId, String subnetCompartmentId, String subnetId, List<BaremetalCloudNsgTemplate> nsgIds, String imageCompartmentId, String imageId, String shape, String sshCredentialsId, String description, String remoteFS, Boolean assignPublicIP, Boolean usePublicIP, String numExecutors, Node.Mode mode, String labelString, String idleTerminationMinutes, int templateId, String jenkinsAgentUser, String customJavaPath, String customJVMOpts, String initScript, Boolean exportJenkinsEnvVars, String sshConnectTimeoutSeconds, Boolean verificationStrategy, String startTimeoutSeconds, String initScriptTimeoutSeconds, String instanceCap, String numberOfOcpus, Boolean autoImageUpdate, Boolean stopOnIdle, List<BaremetalCloudTagsTemplate> tags, String instanceNamePrefix, String memoryInGBs, Boolean doNotDisable, String retryTimeoutMins)
-
-
Method Detail
-
getCompartmentId
public String getCompartmentId()
-
getAvailableDomain
public String getAvailableDomain()
-
getVcnCompartmentId
public String getVcnCompartmentId()
-
getVcn
public String getVcn()
-
getSubnetCompartmentId
public String getSubnetCompartmentId()
-
getSubnet
public String getSubnet()
-
getNsgIds
public List<BaremetalCloudNsgTemplate> getNsgIds()
-
getImageCompartmentId
public String getImageCompartmentId()
-
getImage
public String getImage()
-
getImageId
public String getImageId()
-
setImageId
@DataBoundSetter public void setImageId(String imageId)
-
getAutoImageUpdate
public Boolean getAutoImageUpdate()
-
getShape
public String getShape()
-
getSshCredentialsId
public String getSshCredentialsId()
-
getDisplayName
public String getDisplayName()
-
getDescription
public String getDescription()
-
getJenkinsAgentUser
public String getJenkinsAgentUser()
-
getCustomJavaPath
public String getCustomJavaPath()
-
getCustomJVMOpts
public String getCustomJVMOpts()
-
getRemoteFS
public String getRemoteFS()
-
getAssignPublicIP
public Boolean getAssignPublicIP()
-
getUsePublicIP
public Boolean getUsePublicIP()
-
getNumExecutors
public int getNumExecutors()
-
getNumExecutorsValue
public int getNumExecutorsValue()
-
getMode
public Node.Mode getMode()
-
getLabelString
public String getLabelString()
-
getLabelAtoms
public Collection<LabelAtom> getLabelAtoms()
-
getIdleTerminationMinutes
public String getIdleTerminationMinutes()
-
getTemplateId
public int getTemplateId()
-
getInitScript
public String getInitScript()
-
getVerificationStrategy
public Boolean getVerificationStrategy()
-
getInitScriptEnvVarsVersion
public String getInitScriptEnvVarsVersion()
-
getExportJenkinsEnvVars
public Boolean getExportJenkinsEnvVars()
-
getStartTimeoutSeconds
public String getStartTimeoutSeconds()
-
getSshConnectTimeoutSeconds
public String getSshConnectTimeoutSeconds()
-
getStartTimeoutNanos
public long getStartTimeoutNanos()
-
getSshConnectTimeoutMillis
public int getSshConnectTimeoutMillis()
-
getInitScriptTimeoutSeconds
public int getInitScriptTimeoutSeconds()
-
getInstanceCap
public String getInstanceCap()
-
getNumberOfOcpus
public String getNumberOfOcpus()
-
getMemoryInGBs
public String getMemoryInGBs()
-
getPublicKey
public String getPublicKey() throws IOException
- Throws:
IOException
-
getStopOnIdle
public Boolean getStopOnIdle()
-
getTags
public List<BaremetalCloudTagsTemplate> getTags()
-
getInstanceNamePrefix
public String getInstanceNamePrefix()
-
getDescriptor
public Descriptor<BaremetalCloudAgentTemplate> getDescriptor()
- Specified by:
getDescriptor
in interfaceDescribable<BaremetalCloudAgentTemplate>
-
increaseFailureCount
public void increaseFailureCount(String cause)
-
resetFailureCount
public void resetFailureCount()
-
getDisableCause
public String getDisableCause()
-
getDoNotDisable
public Boolean getDoNotDisable()
-
setTemplateSleep
@DataBoundSetter public void setTemplateSleep(Boolean sleepvar)
-
isTemplateSleep
public boolean isTemplateSleep()
-
getRetryTimeoutMins
public int getRetryTimeoutMins()
-
setSleepStartTime
public void setSleepStartTime(long sleepStartTime)
-
getSleepStartTime
public long getSleepStartTime()
-
-