@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,
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, getWorkingSubdirectoryapplicableTo, getDescription, getRequirements, isEnabled, toStringpublic 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,
List<RequirementProperties> requirements,
@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 EntityPropertiesvalidate in class TaskPropertiespublic boolean equals(Object o)
equals in class AbstractDockerTaskPropertiespublic int hashCode()
hashCode in class AbstractDockerTaskPropertiesCopyright © 2018 Atlassian Software Systems Pty Ltd. All rights reserved.