Class SharedCredentialsProperties
java.lang.Object
com.atlassian.bamboo.specs.api.model.credentials.SharedCredentialsProperties
- All Implemented Interfaces:
EntityProperties
,RootEntityProperties
- Direct Known Subclasses:
AnySharedCredentialsProperties
,SshCredentialsProperties
,UsernamePasswordCredentialsProperties
@Immutable
public abstract class SharedCredentialsProperties
extends Object
implements RootEntityProperties
-
Constructor Summary
ModifierConstructorDescriptionprotected
protected
SharedCredentialsProperties
(@NotNull String name, @Nullable BambooOidProperties oid) protected
SharedCredentialsProperties
(@NotNull String name, @Nullable BambooOidProperties oid, @Nullable ProjectProperties project) -
Method Summary
Modifier and TypeMethodDescriptionboolean
abstract @NotNull AtlassianModuleProperties
@NotNull String
getName()
@Nullable BambooOidProperties
getOid()
@Nullable ProjectProperties
int
hashCode()
Entity type and id representation that is shown to human.@NotNull String
Entity type that is shown to human.void
validate()
-
Constructor Details
-
SharedCredentialsProperties
protected SharedCredentialsProperties() -
SharedCredentialsProperties
protected SharedCredentialsProperties(@NotNull @NotNull String name, @Nullable @Nullable BambooOidProperties oid) throws PropertiesValidationException - Throws:
PropertiesValidationException
-
SharedCredentialsProperties
protected SharedCredentialsProperties(@NotNull @NotNull String name, @Nullable @Nullable BambooOidProperties oid, @Nullable @Nullable ProjectProperties project) throws PropertiesValidationException - Throws:
PropertiesValidationException
-
-
Method Details
-
getAtlassianPlugin
-
getName
-
getOid
-
getProject
-
equals
-
hashCode
public int hashCode() -
validate
public void validate()- Specified by:
validate
in interfaceEntityProperties
-
humanReadableType
Description copied from interface:RootEntityProperties
Entity type that is shown to human.- Specified by:
humanReadableType
in interfaceRootEntityProperties
-
humanReadableId
Description copied from interface:RootEntityProperties
Entity type and id representation that is shown to human.- Specified by:
humanReadableId
in interfaceRootEntityProperties
-