Class ECSTaskTemplateStep
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<org.jenkinsci.plugins.workflow.steps.Step>
-
- org.jenkinsci.plugins.workflow.steps.Step
-
- com.cloudbees.jenkins.plugins.amazonecs.pipeline.ECSTaskTemplateStep
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<org.jenkinsci.plugins.workflow.steps.Step>
,Serializable
public class ECSTaskTemplateStep extends org.jenkinsci.plugins.workflow.steps.Step implements Serializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ECSTaskTemplateStep.DescriptorImpl
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description ECSTaskTemplateStep(String label, String name)
-
Method Summary
-
-
-
Method Detail
-
getLabel
public String getLabel()
-
getName
public String getName()
-
setCloud
@DataBoundSetter public void setCloud(String cloud)
-
getCloud
public String getCloud()
-
setAgentContainerName
@DataBoundSetter public void setAgentContainerName(String agentContainerName)
-
getAgentContainerName
public String getAgentContainerName()
-
setTaskDefinitionOverride
@DataBoundSetter public void setTaskDefinitionOverride(String taskDefinitionOverride)
-
getTaskDefinitionOverride
public String getTaskDefinitionOverride()
-
setRepositoryCredentials
@DataBoundSetter public void setRepositoryCredentials(String repositoryCredentials)
-
getRepositoryCredentials
public String getRepositoryCredentials()
-
setImage
@DataBoundSetter public void setImage(String image)
-
getImage
public String getImage()
-
setLaunchType
@DataBoundSetter public void setLaunchType(String launchType)
-
getLaunchType
public String getLaunchType()
-
setOperatingSystemFamily
@DataBoundSetter public void setOperatingSystemFamily(String operatingSystemFamily)
-
getOperatingSystemFamily
public String getOperatingSystemFamily()
-
setCpuArchitecture
@DataBoundSetter public void setCpuArchitecture(String cpuArchitecture)
-
getCpuArchitecture
public String getCpuArchitecture()
-
setNetworkMode
@DataBoundSetter public void setNetworkMode(String networkMode)
-
getNetworkMode
public String getNetworkMode()
-
setRemoteFSRoot
@DataBoundSetter public void setRemoteFSRoot(String remoteFSRoot)
-
getRemoteFSRoot
public String getRemoteFSRoot()
-
setUniqueRemoteFSRoot
@DataBoundSetter public void setUniqueRemoteFSRoot(boolean uniqueRemoteFSRoot)
-
getUniqueRemoteFSRoot
public boolean getUniqueRemoteFSRoot()
-
setPlatformVersion
@DataBoundSetter public void setPlatformVersion(String platformVersion)
-
getPlatformVersion
public String getPlatformVersion()
-
setMemory
@DataBoundSetter public void setMemory(int memory)
-
getMemory
public int getMemory()
-
setMemoryReservation
@DataBoundSetter public void setMemoryReservation(int memoryReservation)
-
getMemoryReservation
public int getMemoryReservation()
-
setCpu
@DataBoundSetter public void setCpu(int cpu)
-
getCpu
public int getCpu()
-
setEphemeralStorageSizeInGiB
@DataBoundSetter public void setEphemeralStorageSizeInGiB(Integer ephemeralStorageSizeInGiB)
-
getEphemeralStorageSizeInGiB
public Integer getEphemeralStorageSizeInGiB()
-
setSharedMemorySize
@DataBoundSetter public void setSharedMemorySize(int sharedMemorySize)
-
getSharedMemorySize
public int getSharedMemorySize()
-
setSubnets
@DataBoundSetter public void setSubnets(String subnets)
-
getSubnets
public String getSubnets()
-
setSecurityGroups
@DataBoundSetter public void setSecurityGroups(String securityGroups)
-
getSecurityGroups
public String getSecurityGroups()
-
setAssignPublicIp
@DataBoundSetter public void setAssignPublicIp(boolean assignPublicIp)
-
getAssignPublicIp
public boolean getAssignPublicIp()
-
setDefaultCapacityProvider
@DataBoundSetter public void setDefaultCapacityProvider(boolean defaultCapacityProvider)
-
getDefaultCapacityProvider
public boolean getDefaultCapacityProvider()
-
setPrivileged
@DataBoundSetter public void setPrivileged(boolean privileged)
-
getPrivileged
public boolean getPrivileged()
-
setContainerUser
@DataBoundSetter public void setContainerUser(String containerUser)
-
getContainerUser
public String getContainerUser()
-
setKernelCapabilities
@DataBoundSetter public void setKernelCapabilities(String kernelCapabilities)
-
getKernelCapabilities
public String getKernelCapabilities()
-
setExecutionRole
@DataBoundSetter public void setExecutionRole(String executionRole)
-
getExecutionRole
public String getExecutionRole()
-
setTaskrole
@DataBoundSetter public void setTaskrole(String taskrole)
-
getTaskrole
public String getTaskrole()
-
setInheritFrom
@DataBoundSetter public void setInheritFrom(String inheritFrom)
-
getInheritFrom
public String getInheritFrom()
-
setEnableExecuteCommand
@DataBoundSetter public void setEnableExecuteCommand(boolean enableExecuteCommand)
-
getEnableExecuteCommand
public boolean getEnableExecuteCommand()
-
getLogDriver
public String getLogDriver()
-
setLogDriver
@DataBoundSetter public void setLogDriver(String logDriver)
-
getLogDriverOptions
public List<ECSTaskTemplate.LogDriverOption> getLogDriverOptions()
-
setLogDriverOptions
@DataBoundSetter public void setLogDriverOptions(List<ECSTaskTemplate.LogDriverOption> logDriverOptions)
-
getTags
public List<ECSTaskTemplate.Tag> getTags()
-
setTags
@DataBoundSetter public void setTags(List<ECSTaskTemplate.Tag> tags)
-
getEnvironments
public List<ECSTaskTemplate.EnvironmentEntry> getEnvironments()
-
setEnvironments
@DataBoundSetter public void setEnvironments(List<ECSTaskTemplate.EnvironmentEntry> environments)
-
getExtraHosts
public List<ECSTaskTemplate.ExtraHostEntry> getExtraHosts()
-
setExtraHosts
@DataBoundSetter public void setExtraHosts(List<ECSTaskTemplate.ExtraHostEntry> extraHosts)
-
getMountPoints
public List<ECSTaskTemplate.MountPointEntry> getMountPoints()
-
setMountPoints
@DataBoundSetter public void setMountPoints(List<ECSTaskTemplate.MountPointEntry> mountPoints)
-
getEfsMountPoints
public List<ECSTaskTemplate.EFSMountPointEntry> getEfsMountPoints()
-
setEfsMountPoints
@DataBoundSetter public void setEfsMountPoints(List<ECSTaskTemplate.EFSMountPointEntry> efsMountPoints)
-
getPortMappings
public List<ECSTaskTemplate.PortMappingEntry> getPortMappings()
-
getUlimits
public List<ECSTaskTemplate.UlimitEntry> getUlimits()
-
setPortMappings
@DataBoundSetter public void setPortMappings(List<ECSTaskTemplate.PortMappingEntry> portMappings)
-
setUlimits
@DataBoundSetter public void setUlimits(List<ECSTaskTemplate.UlimitEntry> ulimits)
-
getPlacementStrategies
public List<ECSTaskTemplate.PlacementStrategyEntry> getPlacementStrategies()
-
setPlacementStrategies
@DataBoundSetter public void setPlacementStrategies(List<ECSTaskTemplate.PlacementStrategyEntry> placementStrategies)
-
getCapacityProviderStrategies
public List<ECSTaskTemplate.CapacityProviderStrategyEntry> getCapacityProviderStrategies()
-
setCapacityProviderStrategies
@DataBoundSetter public void setCapacityProviderStrategies(List<ECSTaskTemplate.CapacityProviderStrategyEntry> capacityProviderStrategies)
-
start
public org.jenkinsci.plugins.workflow.steps.StepExecution start(org.jenkinsci.plugins.workflow.steps.StepContext stepContext) throws Exception
- Specified by:
start
in classorg.jenkinsci.plugins.workflow.steps.Step
- Throws:
Exception
-
-