@Immutable public final class UsernamePasswordCredentialsProperties extends SharedCredentialsProperties
Constructor and Description |
---|
UsernamePasswordCredentialsProperties(String name,
BambooOidProperties oid,
String username,
String password) |
UsernamePasswordCredentialsProperties(String name,
BambooOidProperties oid,
String username,
String password,
ProjectProperties project) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
AtlassianModuleProperties |
getAtlassianPlugin() |
String |
getPassword() |
String |
getUsername() |
int |
hashCode() |
void |
validate() |
getName, getOid, getProject, humanReadableId, humanReadableType
public UsernamePasswordCredentialsProperties(@NotNull String name, @Nullable BambooOidProperties oid, @NotNull String username, @Nullable String password) throws PropertiesValidationException
PropertiesValidationException
public UsernamePasswordCredentialsProperties(@NotNull String name, @Nullable BambooOidProperties oid, @NotNull String username, @Nullable String password, @Nullable ProjectProperties project) throws PropertiesValidationException
PropertiesValidationException
@NotNull public AtlassianModuleProperties getAtlassianPlugin()
getAtlassianPlugin
in class SharedCredentialsProperties
public String getUsername()
public String getPassword()
public boolean equals(Object o)
equals
in class SharedCredentialsProperties
public int hashCode()
hashCode
in class SharedCredentialsProperties
public void validate()
validate
in interface EntityProperties
validate
in class SharedCredentialsProperties
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.