Class DockerRunContainerTaskProperties
java.lang.Object
com.atlassian.bamboo.specs.api.model.task.TaskProperties
com.atlassian.bamboo.specs.model.task.docker.AbstractDockerTaskProperties
com.atlassian.bamboo.specs.model.task.docker.DockerRunContainerTaskProperties
- All Implemented Interfaces:
EntityProperties
-
Field Summary
Fields inherited from class com.atlassian.bamboo.specs.model.task.docker.AbstractDockerTaskProperties
environmentVariables, MODULE_KEY, workingSubdirectory
-
Constructor Summary
ModifierConstructorDescriptionprotected
DockerRunContainerTaskProperties
(@Nullable String description, boolean enabled, @NotNull String imageName, boolean detachedContainer, @Nullable String containerName, @NotNull Map<Integer, Integer> portMappings, boolean waitToStart, @Nullable String serviceURLPattern, long serviceTimeout, boolean linkToDetachedContainers, @Nullable String containerEnvironmentVariables, @Nullable String containerCommand, @Nullable String containerWorkingDirectory, @Nullable String additionalArguments, @NotNull Map<String, String> volumeMappings, @Nullable String environmentVariables, @Nullable String workingSubdirectory, @NotNull List<RequirementProperties> requirements, @NotNull List<? extends ConditionProperties> conditions) -
Method Summary
Methods inherited from class com.atlassian.bamboo.specs.model.task.docker.AbstractDockerTaskProperties
getAtlassianPlugin, getEnvironmentVariables, getWorkingSubdirectory
Methods inherited from class com.atlassian.bamboo.specs.api.model.task.TaskProperties
applicableTo, getConditions, getDescription, getRequirements, isEnabled, toString
-
Field Details
-
VALIDATION_CONTEXT
-
DEFAULT_SERVICE_TIMEOUT
public static final long DEFAULT_SERVICE_TIMEOUT- See Also:
-
-
Constructor Details
-
DockerRunContainerTaskProperties
protected DockerRunContainerTaskProperties() -
DockerRunContainerTaskProperties
public DockerRunContainerTaskProperties(@Nullable @Nullable String description, boolean enabled, @NotNull @NotNull String imageName, boolean detachedContainer, @Nullable @Nullable String containerName, @NotNull @NotNull Map<Integer, Integer> portMappings, boolean waitToStart, @Nullable @Nullable String serviceURLPattern, long serviceTimeout, boolean linkToDetachedContainers, @Nullable @Nullable String containerEnvironmentVariables, @Nullable @Nullable String containerCommand, @Nullable @Nullable String containerWorkingDirectory, @Nullable @Nullable String additionalArguments, @NotNull @NotNull Map<String, throws PropertiesValidationExceptionString> volumeMappings, @Nullable @Nullable String environmentVariables, @Nullable @Nullable String workingSubdirectory, @NotNull @NotNull List<RequirementProperties> requirements, @NotNull @NotNull List<? extends ConditionProperties> conditions) - Throws:
PropertiesValidationException
-
-
Method Details
-
getImageName
-
isDetachedContainer
public boolean isDetachedContainer() -
getContainerName
-
getPortMappings
-
isWaitToStart
public boolean isWaitToStart() -
getServiceURLPattern
-
getServiceTimeout
public long getServiceTimeout() -
isLinkToDetachedContainers
public boolean isLinkToDetachedContainers() -
getContainerEnvironmentVariables
-
getContainerCommand
-
getContainerWorkingDirectory
-
getAdditionalArguments
-
getVolumeMappings
-
validate
public void validate()- Specified by:
validate
in interfaceEntityProperties
- Overrides:
validate
in classTaskProperties
-
equals
- Overrides:
equals
in classAbstractDockerTaskProperties
-
hashCode
public int hashCode()- Overrides:
hashCode
in classAbstractDockerTaskProperties
-