Package jenkins.scm.api.metadata
Class ContributorMetadataAction
java.lang.Object
hudson.model.InvisibleAction
jenkins.scm.api.metadata.ContributorMetadataAction
- All Implemented Interfaces:
Action,ModelObject,Serializable
@ExportedBean
public class ContributorMetadataAction
extends InvisibleAction
implements Serializable
Holds metadata about the contributor of a
SCMRevision, SCMHead, SCMSource or
SCMNavigator.
In general we expect this to be reported from SCMSource.fetchActions(SCMHead, SCMHeadEvent, TaskListener)
for ChangeRequestSCMHead instances but can be used elsewhere where that makes sense.
- Since:
- 2.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionContributorMetadataAction(String contributor, String contributorDisplayName, String contributorEmail) -
Method Summary
Methods inherited from class hudson.model.InvisibleAction
getDisplayName, getIconFileName, getUrlName
-
Constructor Details
-
ContributorMetadataAction
-
-
Method Details
-
getContributor
Username of author of the proposed change.- Returns:
- a user login name or other unique user identifier
-
getContributorDisplayName
Human name of author of proposed change.- Returns:
- First M. Last, etc.
-
getContributorEmail
Email address of author of proposed change.- Returns:
- a valid email address
-
equals
-
hashCode
public int hashCode() -
toString
-