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 java.lang.Object implements RootEntityProperties
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedSharedCredentialsProperties()protectedSharedCredentialsProperties(@NotNull java.lang.String name, @Nullable BambooOidProperties oid)protectedSharedCredentialsProperties(@NotNull java.lang.String name, @Nullable BambooOidProperties oid, @Nullable ProjectProperties project)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)abstract @NotNull AtlassianModulePropertiesgetAtlassianPlugin()@NotNull java.lang.StringgetName()@Nullable BambooOidPropertiesgetOid()@Nullable ProjectPropertiesgetProject()inthashCode()java.lang.StringhumanReadableId()Entity type and id representation that is shown to human.@NotNull java.lang.StringhumanReadableType()Entity type that is shown to human.voidvalidate()
-
-
-
Constructor Detail
-
SharedCredentialsProperties
protected SharedCredentialsProperties()
-
SharedCredentialsProperties
protected SharedCredentialsProperties(@NotNull @NotNull java.lang.String name, @Nullable @Nullable BambooOidProperties oid) throws PropertiesValidationException- Throws:
PropertiesValidationException
-
SharedCredentialsProperties
protected SharedCredentialsProperties(@NotNull @NotNull java.lang.String name, @Nullable @Nullable BambooOidProperties oid, @Nullable @Nullable ProjectProperties project) throws PropertiesValidationException- Throws:
PropertiesValidationException
-
-
Method Detail
-
getAtlassianPlugin
@NotNull public abstract @NotNull AtlassianModuleProperties getAtlassianPlugin()
-
getName
@NotNull public @NotNull java.lang.String getName()
-
getOid
@Nullable public @Nullable BambooOidProperties getOid()
-
getProject
@Nullable public @Nullable ProjectProperties getProject()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
validate
public void validate()
- Specified by:
validatein interfaceEntityProperties
-
humanReadableType
@NotNull public @NotNull java.lang.String humanReadableType()
Description copied from interface:RootEntityPropertiesEntity type that is shown to human.- Specified by:
humanReadableTypein interfaceRootEntityProperties
-
humanReadableId
public java.lang.String humanReadableId()
Description copied from interface:RootEntityPropertiesEntity type and id representation that is shown to human.- Specified by:
humanReadableIdin interfaceRootEntityProperties
-
-