@Immutable public class DockerRegistryTaskProperties extends AbstractDockerTaskProperties
Modifier and Type | Class and Description |
---|---|
static class |
DockerRegistryTaskProperties.OperationType |
static class |
DockerRegistryTaskProperties.RegistryType |
Modifier and Type | Field and Description |
---|---|
static ValidationContext |
VALIDATION_CONTEXT |
environmentVariables, MODULE_KEY, workingSubdirectory
Modifier | Constructor and Description |
---|---|
protected |
DockerRegistryTaskProperties() |
|
DockerRegistryTaskProperties(String description,
boolean enabled,
DockerRegistryTaskProperties.OperationType operationType,
String image,
DockerRegistryTaskProperties.RegistryType registryType,
String username,
String password,
String email,
String environmentVariables,
String workingSubdirectory,
List<RequirementProperties> requirements,
List<? extends ConditionProperties> conditions,
SharedCredentialsIdentifierProperties sharedCredentialsIdentifierProperties) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getEmail() |
String |
getImage() |
DockerRegistryTaskProperties.OperationType |
getOperationType() |
String |
getPassword() |
DockerRegistryTaskProperties.RegistryType |
getRegistryType() |
SharedCredentialsIdentifierProperties |
getSharedCredentialsIdentifier() |
String |
getUsername() |
int |
hashCode() |
void |
validate() |
getAtlassianPlugin, getEnvironmentVariables, getWorkingSubdirectory
applicableTo, getConditions, getDescription, getRequirements, isEnabled, toString
public static final ValidationContext VALIDATION_CONTEXT
protected DockerRegistryTaskProperties()
public DockerRegistryTaskProperties(@Nullable String description, boolean enabled, @NotNull DockerRegistryTaskProperties.OperationType operationType, @NotNull String image, @NotNull DockerRegistryTaskProperties.RegistryType registryType, @Nullable String username, @Nullable String password, @Nullable String email, @Nullable String environmentVariables, @Nullable String workingSubdirectory, @NotNull List<RequirementProperties> requirements, @NotNull List<? extends ConditionProperties> conditions, @Nullable SharedCredentialsIdentifierProperties sharedCredentialsIdentifierProperties) throws PropertiesValidationException
PropertiesValidationException
@NotNull public String getImage()
@Nullable public String getUsername()
@Nullable public String getPassword()
@Nullable public String getEmail()
@Nullable public SharedCredentialsIdentifierProperties getSharedCredentialsIdentifier()
@NotNull public DockerRegistryTaskProperties.OperationType getOperationType()
@NotNull public DockerRegistryTaskProperties.RegistryType getRegistryType()
public void validate()
validate
in interface EntityProperties
validate
in class TaskProperties
public boolean equals(Object o)
equals
in class AbstractDockerTaskProperties
public int hashCode()
hashCode
in class AbstractDockerTaskProperties
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.