Class SharedCredentialsProperties
- java.lang.Object
-
- com.atlassian.bamboo.specs.api.model.credentials.SharedCredentialsProperties
-
- All Implemented Interfaces:
EntityProperties,RootEntityProperties
- Direct Known Subclasses:
AnySharedCredentialsProperties
@Immutable public abstract class SharedCredentialsProperties extends Object implements RootEntityProperties
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedSharedCredentialsProperties()protectedSharedCredentialsProperties(@NotNull String name, @Nullable BambooOidProperties oid)protectedSharedCredentialsProperties(@NotNull String name, @Nullable BambooOidProperties oid, @Nullable ProjectProperties project)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)abstract @NotNull AtlassianModulePropertiesgetAtlassianPlugin()@NotNull StringgetName()@Nullable BambooOidPropertiesgetOid()@Nullable ProjectPropertiesgetProject()inthashCode()StringhumanReadableId()Entity type and id representation that is shown to human.@NotNull StringhumanReadableType()Entity type that is shown to human.voidvalidate()
-
-
-
Constructor Detail
-
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 Detail
-
getAtlassianPlugin
@NotNull public abstract @NotNull AtlassianModuleProperties getAtlassianPlugin()
-
getName
@NotNull public @NotNull String getName()
-
getOid
@Nullable public @Nullable BambooOidProperties getOid()
-
getProject
@Nullable public @Nullable ProjectProperties getProject()
-
validate
public void validate()
- Specified by:
validatein interfaceEntityProperties
-
humanReadableType
@NotNull public @NotNull String humanReadableType()
Description copied from interface:RootEntityPropertiesEntity type that is shown to human.- Specified by:
humanReadableTypein interfaceRootEntityProperties
-
humanReadableId
public String humanReadableId()
Description copied from interface:RootEntityPropertiesEntity type and id representation that is shown to human.- Specified by:
humanReadableIdin interfaceRootEntityProperties
-
-