Package hudson.scm
Class IntegrityChangeLogSet.IntegrityChangeLog
java.lang.Object
hudson.scm.ChangeLogSet.Entry
hudson.scm.IntegrityChangeLogSet.IntegrityChangeLog
- Enclosing class:
IntegrityChangeLogSet
@ExportedBean(defaultVisibility=999)
public static class IntegrityChangeLogSet.IntegrityChangeLog
extends hudson.scm.ChangeLogSet.Entry
The Entry class defines the metadata related to an individual file change
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for the DigesterIntegrityChangeLog(hudson.scm.ChangeLogSet<IntegrityChangeLogSet.IntegrityChangeLog> parent, List<IntegrityChangeLogSet.IntegrityChangeLogPath> affectedPaths, String author, String msg) IntegrityChangeLog Class Constructor -
Method Summary
Modifier and TypeMethodDescriptionvoidReturns the action associated with this change, i.e.Returns a string url representation containing the link to the Integrity Annotated Member viewhudson.model.UserReturns the author responsible for the change Note: This user must be defined in Hudson/Jenkins!getCpid()Returns the Change package ID associated with this changegetDate()Returns the modification timestamp for this EntryReturns a string representation containing the link to the Integrity Member differences viewhudson.scm.EditTypeUsed by the stapler class to display an appropriate icon associated with the changegetFile()Returns the Integrity Project Member path for this changegetMsg()Returns the comments associated with the changeGets the IntegrityChangeLogSet to which this change set belongs.getPaths()Gets the files that are changed in this commit.getRev()Returns the revision number associated with the changegetUser()Gets the user responsible for the changeGets the URL for viewing a change packagevoidSets the action associated with this change, i.e.voidsetAnnotation(String annotation) Sets a string url representation containing the link to the Integrity Annotated Member viewvoidSets the Change package ID associated with this changevoidSets the date stamp for when this change was madevoidsetDifferences(String differences) Sets a string url representation containing the link to the Integrity Member differences viewvoidSets the Integrity Project Member path for this changevoidSetter method to initialize the comments for this changeprotected voidsetParent(hudson.scm.ChangeLogSet changeLogSet) Because of the class loader difference, we need to extend this method to make it accessible to the rest of IntegritySCMvoidProvides the mechanism to populate the revision string for this EntryvoidSets the user responsible for the changevoidSets a string url representation containing the link to the Integrity View CP viewMethods inherited from class hudson.scm.ChangeLogSet.Entry
getCommitId, getMsgAnnotated, getMsgEscaped, getTimestamp
-
Constructor Details
-
IntegrityChangeLog
public IntegrityChangeLog()Default constructor for the Digester -
IntegrityChangeLog
public IntegrityChangeLog(hudson.scm.ChangeLogSet<IntegrityChangeLogSet.IntegrityChangeLog> parent, List<IntegrityChangeLogSet.IntegrityChangeLogPath> affectedPaths, String author, String msg) IntegrityChangeLog Class Constructor- Parameters:
parent-affectedPaths-author-msg-
-
-
Method Details
-
getParent
Gets the IntegrityChangeLogSet to which this change set belongs.- Overrides:
getParentin classhudson.scm.ChangeLogSet.Entry
-
setParent
protected void setParent(hudson.scm.ChangeLogSet changeLogSet) Because of the class loader difference, we need to extend this method to make it accessible to the rest of IntegritySCM- Overrides:
setParentin classhudson.scm.ChangeLogSet.Entry
-
addPath
-
getPaths
Gets the files that are changed in this commit.- Returns:
- can be empty but never null.
-
getAffectedPaths
- Specified by:
getAffectedPathsin classhudson.scm.ChangeLogSet.Entry
-
getAffectedFiles
- Overrides:
getAffectedFilesin classhudson.scm.ChangeLogSet.Entry
-
getAuthor
@Exported public hudson.model.User getAuthor()Returns the author responsible for the change Note: This user must be defined in Hudson/Jenkins!- Specified by:
getAuthorin classhudson.scm.ChangeLogSet.Entry
-
getUser
Gets the user responsible for the change -
setUser
Sets the user responsible for the change- Parameters:
user-
-
getMsg
Returns the comments associated with the change- Specified by:
getMsgin classhudson.scm.ChangeLogSet.Entry
-
setMsg
Setter method to initialize the comments for this change- Parameters:
msg-
-
getRev
Returns the revision number associated with the change -
setRev
Provides the mechanism to populate the revision string for this Entry- Parameters:
rev-
-
getDate
Returns the modification timestamp for this Entry- Parameters:
rev-
-
setDate
Sets the date stamp for when this change was made- Parameters:
date-
-
getAction
Returns the action associated with this change, i.e. add, update, or delete- Returns:
-
setAction
Sets the action associated with this change, i.e. add, update, or delete- Parameters:
action-
-
getEditType
@Exported public hudson.scm.EditType getEditType()Used by the stapler class to display an appropriate icon associated with the change- Returns:
-
getFile
Returns the Integrity Project Member path for this change- Returns:
-
setFile
Sets the Integrity Project Member path for this change- Parameters:
file-
-
getAnnotation
Returns a string url representation containing the link to the Integrity Annotated Member view- Returns:
-
setAnnotation
Sets a string url representation containing the link to the Integrity Annotated Member view- Parameters:
annotation-
-
getDifferences
Returns a string representation containing the link to the Integrity Member differences view- Returns:
-
getCpid
Returns the Change package ID associated with this change- Returns:
-
setDifferences
Sets a string url representation containing the link to the Integrity Member differences view- Parameters:
differences-
-
setCpid
Sets the Change package ID associated with this change- Parameters:
differences-
-
getViewCP
Gets the URL for viewing a change package- Returns:
-
setViewCP
Sets a string url representation containing the link to the Integrity View CP view- Parameters:
annotation-
-