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
ModifierConstructorDescriptionprotected
AuthorDataImpl
(@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 TypeMethodDescriptionint
compareTo
(AuthorContext otherAuthor) boolean
@Nullable String
getEmail()
@Nullable String
@Nullable String
getName()
Unique name identifying an author.int
hashCode()
void
void
setLinkedUserName
(@Nullable String linkedUserName) void
Methods inherited from class com.atlassian.core.bean.EntityObject
clone, getCreationDate, getCurrentDate, getId, getLastModificationDate, setClock, setCreationDate, setId, setLastModificationDate
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.atlassian.bamboo.core.BambooIdProvider
getId
Methods 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:AuthorContext
Unique name identifying an author.- Specified by:
getName
in interfaceAuthorContext
- Specified by:
getName
in interfaceNameProvider
- Returns:
- identifying alias
-
setName
-
getLinkedUserName
- Specified by:
getLinkedUserName
in interfaceAuthorContext
-
setLinkedUserName
- Specified by:
setLinkedUserName
in interfaceAuthorData
-
getEmail
- Specified by:
getEmail
in interfaceAuthorContext
-
setEmail
- Specified by:
setEmail
in interfaceAuthorData
-
hashCode
public int hashCode()- Overrides:
hashCode
in classcom.atlassian.core.bean.EntityObject
-
equals
- Overrides:
equals
in classcom.atlassian.core.bean.EntityObject
-
compareTo
- Specified by:
compareTo
in interfaceComparable<AuthorContext>
-