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:
EntityProperties
@Immutable public class DockerRegistryTaskProperties extends AbstractDockerTaskProperties
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDockerRegistryTaskProperties.OperationTypestatic classDockerRegistryTaskProperties.RegistryType
-
Field Summary
Fields Modifier and Type Field Description static ValidationContextVALIDATION_CONTEXT-
Fields inherited from class com.atlassian.bamboo.specs.model.task.docker.AbstractDockerTaskProperties
environmentVariables, MODULE_KEY, workingSubdirectory
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedDockerRegistryTaskProperties()DockerRegistryTaskProperties(@Nullable java.lang.String description, boolean enabled, @NotNull DockerRegistryTaskProperties.OperationType operationType, @NotNull java.lang.String image, @NotNull DockerRegistryTaskProperties.RegistryType registryType, @Nullable java.lang.String username, @Nullable java.lang.String password, @Nullable java.lang.String email, @Nullable java.lang.String environmentVariables, @Nullable java.lang.String workingSubdirectory, @NotNull java.util.List<RequirementProperties> requirements, @NotNull java.util.List<? extends ConditionProperties> conditions, @Nullable SharedCredentialsIdentifierProperties sharedCredentialsIdentifierProperties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)@Nullable java.lang.StringgetEmail()@NotNull java.lang.StringgetImage()@NotNull DockerRegistryTaskProperties.OperationTypegetOperationType()@Nullable java.lang.StringgetPassword()@NotNull DockerRegistryTaskProperties.RegistryTypegetRegistryType()@Nullable SharedCredentialsIdentifierPropertiesgetSharedCredentialsIdentifier()@Nullable java.lang.StringgetUsername()inthashCode()voidvalidate()-
Methods inherited from class com.atlassian.bamboo.specs.model.task.docker.AbstractDockerTaskProperties
getAtlassianPlugin, getEnvironmentVariables, getWorkingSubdirectory
-
Methods inherited from class com.atlassian.bamboo.specs.api.model.task.TaskProperties
applicableTo, getConditions, getDescription, getRequirements, isEnabled, toString
-
-
-
-
Field Detail
-
VALIDATION_CONTEXT
public static final 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<RequirementProperties> requirements, @NotNull @NotNull java.util.List<? extends ConditionProperties> conditions, @Nullable @Nullable SharedCredentialsIdentifierProperties sharedCredentialsIdentifierProperties) throws PropertiesValidationException- Throws:
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 SharedCredentialsIdentifierProperties getSharedCredentialsIdentifier()
-
getOperationType
@NotNull public @NotNull DockerRegistryTaskProperties.OperationType getOperationType()
-
getRegistryType
@NotNull public @NotNull DockerRegistryTaskProperties.RegistryType getRegistryType()
-
validate
public void validate()
- Specified by:
validatein interfaceEntityProperties- Overrides:
validatein classTaskProperties
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classAbstractDockerTaskProperties
-
hashCode
public int hashCode()
- Overrides:
hashCodein classAbstractDockerTaskProperties
-
-