Class UsernamePasswordCredentialsProperties
- java.lang.Object
-
- com.atlassian.bamboo.specs.api.model.credentials.SharedCredentialsProperties
-
- com.atlassian.bamboo.specs.model.credentials.UsernamePasswordCredentialsProperties
-
- All Implemented Interfaces:
EntityProperties,RootEntityProperties
@Immutable public final class UsernamePasswordCredentialsProperties extends SharedCredentialsProperties
-
-
Constructor Summary
Constructors Constructor Description UsernamePasswordCredentialsProperties(@NotNull String name, @Nullable BambooOidProperties oid, @NotNull String username, @Nullable String password)UsernamePasswordCredentialsProperties(@NotNull String name, @Nullable BambooOidProperties oid, @NotNull String username, @Nullable String password, @Nullable ProjectProperties project)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)@NotNull AtlassianModulePropertiesgetAtlassianPlugin()StringgetPassword()StringgetUsername()inthashCode()voidvalidate()-
Methods inherited from class com.atlassian.bamboo.specs.api.model.credentials.SharedCredentialsProperties
getName, getOid, getProject, humanReadableId, humanReadableType
-
-
-
-
Constructor Detail
-
UsernamePasswordCredentialsProperties
public UsernamePasswordCredentialsProperties(@NotNull @NotNull String name, @Nullable @Nullable BambooOidProperties oid, @NotNull @NotNull String username, @Nullable @Nullable String password) throws PropertiesValidationException- Throws:
PropertiesValidationException
-
UsernamePasswordCredentialsProperties
public UsernamePasswordCredentialsProperties(@NotNull @NotNull String name, @Nullable @Nullable BambooOidProperties oid, @NotNull @NotNull String username, @Nullable @Nullable String password, @Nullable @Nullable ProjectProperties project) throws PropertiesValidationException- Throws:
PropertiesValidationException
-
-
Method Detail
-
getAtlassianPlugin
@NotNull public @NotNull AtlassianModuleProperties getAtlassianPlugin()
- Specified by:
getAtlassianPluginin classSharedCredentialsProperties
-
getUsername
public String getUsername()
-
getPassword
public String getPassword()
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classSharedCredentialsProperties
-
hashCode
public int hashCode()
- Overrides:
hashCodein classSharedCredentialsProperties
-
validate
public void validate()
- Specified by:
validatein interfaceEntityProperties- Overrides:
validatein classSharedCredentialsProperties
-
-