Class DockerRegistryTaskProperties

  • All Implemented Interfaces:
    com.atlassian.bamboo.specs.api.model.EntityProperties

    @Immutable
    public class DockerRegistryTaskProperties
    extends AbstractDockerTaskProperties
    • Field Detail

      • VALIDATION_CONTEXT

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

      • DockerRegistryTaskProperties

        protected DockerRegistryTaskProperties()
      • DockerRegistryTaskProperties

        public DockerRegistryTaskProperties​(@Nullable
                                            @Nullable java.lang.String description,
                                            boolean enabled,
                                            @NotNull
                                            @NotNull DockerRegistryTaskProperties.OperationType operationType,
                                            @NotNull
                                            @NotNull java.lang.String image,
                                            @NotNull
                                            @NotNull DockerRegistryTaskProperties.RegistryType registryType,
                                            @Nullable
                                            @Nullable java.lang.String username,
                                            @Nullable
                                            @Nullable java.lang.String password,
                                            @Nullable
                                            @Nullable java.lang.String email,
                                            @Nullable
                                            @Nullable java.lang.String environmentVariables,
                                            @Nullable
                                            @Nullable java.lang.String workingSubdirectory,
                                            @NotNull
                                            @NotNull java.util.List<com.atlassian.bamboo.specs.api.model.plan.requirement.RequirementProperties> requirements,
                                            @NotNull
                                            @NotNull java.util.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 Detail

      • getImage

        @NotNull
        public @NotNull java.lang.String getImage()
      • getUsername

        @Nullable
        public @Nullable java.lang.String getUsername()
      • getPassword

        @Nullable
        public @Nullable java.lang.String getPassword()
      • getEmail

        @Nullable
        public @Nullable java.lang.String getEmail()
      • getSharedCredentialsIdentifier

        @Nullable
        public @Nullable com.atlassian.bamboo.specs.api.model.credentials.SharedCredentialsIdentifierProperties getSharedCredentialsIdentifier()
      • 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