Package com.atlassian.bamboo.commit
Class AuthorContextImpl
java.lang.Object
com.atlassian.bamboo.commit.AuthorContextImpl
- All Implemented Interfaces:
AuthorContext
,NameProvider
,Comparable<AuthorContext>
- Direct Known Subclasses:
CodeChangedTriggerReasonRenderer.AuthorWrapper
-
Constructor Summary
ConstructorDescriptionAuthorContextImpl
(@NotNull AuthorContext author) AuthorContextImpl
(String author) AuthorContextImpl
(String author, String linkedUserName, String email) -
Method Summary
-
Constructor Details
-
AuthorContextImpl
-
AuthorContextImpl
-
AuthorContextImpl
-
-
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
-
getEmail
- Specified by:
getEmail
in interfaceAuthorContext
-
getLinkedUserName
- Specified by:
getLinkedUserName
in interfaceAuthorContext
-
hashCode
public int hashCode() -
equals
-
compareTo
- Specified by:
compareTo
in interfaceComparable<AuthorContext>
-