Class DockerRegistryTaskProperties

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.DockerRegistryTaskProperties
All Implemented Interfaces:
com.atlassian.bamboo.specs.api.model.EntityProperties

@Immutable public class DockerRegistryTaskProperties extends AbstractDockerTaskProperties
  • Field Details

    • VALIDATION_CONTEXT

      public static final com.atlassian.bamboo.specs.api.validators.common.ValidationContext VALIDATION_CONTEXT
  • Constructor Details

    • DockerRegistryTaskProperties

      protected DockerRegistryTaskProperties()
    • DockerRegistryTaskProperties

      public DockerRegistryTaskProperties(@Nullable @Nullable String description, boolean enabled, @NotNull @NotNull DockerRegistryTaskProperties.OperationType operationType, @NotNull @NotNull String image, @NotNull @NotNull DockerRegistryTaskProperties.RegistryType registryType, @Nullable @Nullable String username, @Nullable @Nullable String password, @Nullable @Nullable String email, @Nullable @Nullable String environmentVariables, @Nullable @Nullable String workingSubdirectory, @NotNull @NotNull List<com.atlassian.bamboo.specs.api.model.plan.requirement.RequirementProperties> requirements, @NotNull @NotNull List<? extends com.atlassian.bamboo.specs.api.model.plan.condition.ConditionProperties> conditions, @Nullable @Nullable com.atlassian.bamboo.specs.api.model.credentials.SharedCredentialsIdentifierProperties sharedCredentialsIdentifierProperties) throws com.atlassian.bamboo.specs.api.exceptions.PropertiesValidationException
      Throws:
      com.atlassian.bamboo.specs.api.exceptions.PropertiesValidationException
  • Method Details

    • getImage

      @NotNull public @NotNull String getImage()
    • getUsername

      @Nullable public @Nullable String getUsername()
    • getPassword

      @Nullable public @Nullable String getPassword()
    • getEmail

      @Nullable public @Nullable String getEmail()
    • getSharedCredentialsIdentifier

      @Nullable public @Nullable com.atlassian.bamboo.specs.api.model.credentials.SharedCredentialsIdentifierProperties getSharedCredentialsIdentifier()
    • getOperationType

      @NotNull public @NotNull DockerRegistryTaskProperties.OperationType getOperationType()
    • getRegistryType

      @NotNull public @NotNull DockerRegistryTaskProperties.RegistryType getRegistryType()
    • validate

      public void validate()
      Specified by:
      validate in interface com.atlassian.bamboo.specs.api.model.EntityProperties
      Overrides:
      validate in class com.atlassian.bamboo.specs.api.model.task.TaskProperties
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class AbstractDockerTaskProperties