@Immutable public final class DockerRunContainerTaskProperties extends AbstractDockerTaskProperties
| Modifier and Type | Field and Description |
|---|---|
static long |
DEFAULT_SERVICE_TIMEOUT |
static ValidationContext |
VALIDATION_CONTEXT |
environmentVariables, MODULE_KEY, workingSubdirectory| Modifier | Constructor and Description |
|---|---|
protected |
DockerRunContainerTaskProperties() |
|
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) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
@Nullable String |
getAdditionalArguments() |
@Nullable String |
getContainerCommand() |
@Nullable String |
getContainerEnvironmentVariables() |
@Nullable String |
getContainerName() |
@Nullable String |
getContainerWorkingDirectory() |
@NotNull String |
getImageName() |
Map<Integer,Integer> |
getPortMappings() |
long |
getServiceTimeout() |
String |
getServiceURLPattern() |
@NotNull Map<String,String> |
getVolumeMappings() |
int |
hashCode() |
boolean |
isDetachedContainer() |
boolean |
isLinkToDetachedContainers() |
boolean |
isWaitToStart() |
void |
validate() |
getAtlassianPlugin, getEnvironmentVariables, getWorkingSubdirectoryapplicableTo, getConditions, getDescription, getRequirements, isEnabled, toStringpublic static final ValidationContext VALIDATION_CONTEXT
public static final long DEFAULT_SERVICE_TIMEOUT
protected 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,String> volumeMappings,
@Nullable
@Nullable String environmentVariables,
@Nullable
@Nullable String workingSubdirectory,
@NotNull
@NotNull List<RequirementProperties> requirements,
@NotNull
@NotNull List<? extends ConditionProperties> conditions)
throws PropertiesValidationException
PropertiesValidationException@NotNull public @NotNull String getImageName()
public boolean isDetachedContainer()
@Nullable public @Nullable String getContainerName()
public boolean isWaitToStart()
public String getServiceURLPattern()
public long getServiceTimeout()
public boolean isLinkToDetachedContainers()
@Nullable public @Nullable String getContainerEnvironmentVariables()
@Nullable public @Nullable String getContainerCommand()
@Nullable public @Nullable String getContainerWorkingDirectory()
@Nullable public @Nullable String getAdditionalArguments()
public void validate()
validate in interface EntityPropertiesvalidate in class TaskPropertiespublic boolean equals(Object o)
equals in class AbstractDockerTaskPropertiespublic int hashCode()
hashCode in class AbstractDockerTaskPropertiesCopyright © 2023 Atlassian Software Systems Pty Ltd. All rights reserved.