Class DockerRunContainerTaskProperties

All Implemented Interfaces:
EntityProperties

@Immutable public final class DockerRunContainerTaskProperties extends AbstractDockerTaskProperties
  • Field Details

  • 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,String> volumeMappings, @Nullable @Nullable String environmentVariables, @Nullable @Nullable String workingSubdirectory, @NotNull @NotNull List<RequirementProperties> requirements, @NotNull @NotNull List<? extends ConditionProperties> conditions) throws PropertiesValidationException
      Throws:
      PropertiesValidationException
  • Method Details

    • getImageName

      @NotNull public @NotNull String getImageName()
    • isDetachedContainer

      public boolean isDetachedContainer()
    • getContainerName

      @Nullable public @Nullable String getContainerName()
    • getPortMappings

      public Map<Integer,Integer> getPortMappings()
    • isWaitToStart

      public boolean isWaitToStart()
    • getServiceURLPattern

      public String getServiceURLPattern()
    • getServiceTimeout

      public long getServiceTimeout()
    • isLinkToDetachedContainers

      public boolean isLinkToDetachedContainers()
    • getContainerEnvironmentVariables

      @Nullable public @Nullable String getContainerEnvironmentVariables()
    • getContainerCommand

      @Nullable public @Nullable String getContainerCommand()
    • getContainerWorkingDirectory

      @Nullable public @Nullable String getContainerWorkingDirectory()
    • getAdditionalArguments

      @Nullable public @Nullable String getAdditionalArguments()
    • getVolumeMappings

      @NotNull public @NotNull Map<String,String> getVolumeMappings()
    • validate

      public void validate()
      Specified by:
      validate in interface EntityProperties
      Overrides:
      validate in class TaskProperties
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class AbstractDockerTaskProperties
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class AbstractDockerTaskProperties