@Immutable public final class DockerRunContainerTaskProperties extends AbstractDockerTaskProperties
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_CONTAINER_MAPPING |
static String |
DEFAULT_HOST_MAPPING |
static long |
DEFAULT_SERVICE_TIMEOUT |
static ValidationContext |
VALIDATION_CONTEXT |
environmentVariables, MODULE_KEY, workingSubdirectory| Modifier | Constructor and Description |
|---|---|
protected |
DockerRunContainerTaskProperties() |
|
DockerRunContainerTaskProperties(String description,
boolean enabled,
String imageName,
boolean detachedContainer,
String containerName,
Map<Integer,Integer> portMappings,
boolean waitToStart,
String serviceURLPattern,
long serviceTimeout,
boolean linkToDetachedContainers,
String containerEnvironmentVariables,
String containerCommand,
String containerWorkingDirectory,
String additionalArguments,
Map<String,String> volumeMappings,
String environmentVariables,
String workingSubdirectory) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getAdditionalArguments() |
String |
getContainerCommand() |
String |
getContainerEnvironmentVariables() |
String |
getContainerName() |
String |
getContainerWorkingDirectory() |
String |
getImageName() |
Map<Integer,Integer> |
getPortMappings() |
long |
getServiceTimeout() |
String |
getServiceURLPattern() |
Map<String,String> |
getVolumeMappings() |
int |
hashCode() |
boolean |
isDetachedContainer() |
boolean |
isLinkToDetachedContainers() |
boolean |
isWaitToStart() |
void |
validate() |
getAtlassianPlugin, getEnvironmentVariables, getWorkingSubdirectoryapplicableTo, getDescription, isEnabled, toStringpublic static final ValidationContext VALIDATION_CONTEXT
public static final String DEFAULT_HOST_MAPPING
public static final String DEFAULT_CONTAINER_MAPPING
public static final long DEFAULT_SERVICE_TIMEOUT
protected DockerRunContainerTaskProperties()
public 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)
throws PropertiesValidationException
PropertiesValidationException@NotNull public String getImageName()
public boolean isDetachedContainer()
@Nullable public String getContainerName()
public boolean isWaitToStart()
public String getServiceURLPattern()
public long getServiceTimeout()
public boolean isLinkToDetachedContainers()
@Nullable public String getContainerEnvironmentVariables()
@Nullable public String getContainerCommand()
@Nullable public String getContainerWorkingDirectory()
@Nullable public 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 © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.