Package com.atlassian.bamboo.author
Class AuthorDataImpl
java.lang.Object
com.atlassian.core.bean.EntityObject
com.atlassian.bamboo.core.BambooEntityObject
com.atlassian.bamboo.author.AuthorDataImpl
- All Implemented Interfaces:
AuthorContext,AuthorData,BambooIdProvider,BambooObject,NameProvider,Serializable,Cloneable,Comparable<AuthorContext>
- Direct Known Subclasses:
AuthorImpl
- See Also:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAuthorDataImpl(@NotNull AuthorContext author) AuthorDataImpl(@Nullable String name) AuthorDataImpl(@Nullable String name, @Nullable String linkedUserName) AuthorDataImpl(@Nullable String name, @Nullable String linkedUserName, @Nullable String email) -
Method Summary
Modifier and TypeMethodDescriptionintcompareTo(AuthorContext otherAuthor) boolean@Nullable StringgetEmail()@Nullable String@Nullable StringgetName()Unique name identifying an author.inthashCode()voidvoidsetLinkedUserName(@Nullable String linkedUserName) voidMethods inherited from class com.atlassian.core.bean.EntityObject
clone, getCreationDate, getCurrentDate, getId, getLastModificationDate, setClock, setCreationDate, setId, setLastModificationDateMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.atlassian.bamboo.core.BambooIdProvider
getIdMethods inherited from interface com.atlassian.bamboo.core.BambooObject
setId
-
Constructor Details
-
AuthorDataImpl
protected AuthorDataImpl() -
AuthorDataImpl
-
AuthorDataImpl
-
AuthorDataImpl
-
AuthorDataImpl
-
-
Method Details
-
getName
Description copied from interface:AuthorContextUnique name identifying an author.- Specified by:
getNamein interfaceAuthorContext- Specified by:
getNamein interfaceNameProvider- Returns:
- identifying alias
-
setName
-
getLinkedUserName
- Specified by:
getLinkedUserNamein interfaceAuthorContext
-
setLinkedUserName
- Specified by:
setLinkedUserNamein interfaceAuthorData
-
getEmail
- Specified by:
getEmailin interfaceAuthorContext
-
setEmail
- Specified by:
setEmailin interfaceAuthorData
-
hashCode
public int hashCode()- Overrides:
hashCodein classcom.atlassian.core.bean.EntityObject
-
equals
- Overrides:
equalsin classcom.atlassian.core.bean.EntityObject
-
compareTo
- Specified by:
compareToin interfaceComparable<AuthorContext>
-