hudson.scm
Class IntegrityChangeLogSet.IntegrityChangeLog

java.lang.Object
  extended by hudson.scm.ChangeLogSet.Entry
      extended by 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
IntegrityChangeLogSet.IntegrityChangeLog()
          Default constructor for the Digester
IntegrityChangeLogSet.IntegrityChangeLog(hudson.scm.ChangeLogSet<IntegrityChangeLogSet.IntegrityChangeLog> parent, List<IntegrityChangeLogSet.IntegrityChangeLogPath> affectedPaths, String author, String msg)
          IntegrityChangeLog Class Constructor
 
Method Summary
 void addPath(IntegrityChangeLogSet.IntegrityChangeLogPath p)
           
 String getAction()
          Returns the action associated with this change, i.e.
 Collection<IntegrityChangeLogSet.IntegrityChangeLogPath> getAffectedFiles()
           
 Collection<String> getAffectedPaths()
          
 String getAnnotation()
          Returns a string url representation containing the link to the Integrity Annotated Member view
 hudson.model.User getAuthor()
          Returns the author responsible for the change Note: This user must be defined in Hudson/Jenkins!
 String getDate()
          Returns the modification timestamp for this Entry
 String getDifferences()
          Returns a string representation containing the link to the Integrity Member differences view
 hudson.scm.EditType getEditType()
          Used by the stapler class to display an appropriate icon associated with the change
 String getFile()
          Returns the Integrity Project Member path for this change
 String getMsg()
          Returns the comments associated with the change
 IntegrityChangeLogSet getParent()
          Gets the IntegrityChangeLogSet to which this change set belongs.
 List<IntegrityChangeLogSet.IntegrityChangeLogPath> getPaths()
          Gets the files that are changed in this commit.
 String getRev()
          Returns the revision number associated with the change
 String getUser()
          Gets the user responsible for the change
 void setAction(String action)
          Sets the action associated with this change, i.e.
 void setAnnotation(String annotation)
          Sets a string url representation containing the link to the Integrity Annotated Member view
 void setDate(String date)
          Sets the date stamp for when this change was made
 void setDifferences(String differences)
          Sets a string url representation containing the link to the Integrity Member differences view
 void setFile(String file)
          Sets the Integrity Project Member path for this change
 void setMsg(String msg)
          Setter method to initialize the comments for this change
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
 void setRev(String rev)
          Provides the mechanism to populate the revision string for this Entry
 void setUser(String user)
          Sets the user responsible for the change
 
Methods inherited from class hudson.scm.ChangeLogSet.Entry
getCurrentRevision, getMsgAnnotated, getMsgEscaped
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntegrityChangeLogSet.IntegrityChangeLog

public IntegrityChangeLogSet.IntegrityChangeLog()
Default constructor for the Digester


IntegrityChangeLogSet.IntegrityChangeLog

public IntegrityChangeLogSet.IntegrityChangeLog(hudson.scm.ChangeLogSet<IntegrityChangeLogSet.IntegrityChangeLog> parent,
                                                List<IntegrityChangeLogSet.IntegrityChangeLogPath> affectedPaths,
                                                String author,
                                                String msg)
IntegrityChangeLog Class Constructor

Parameters:
parent -
affectedPaths -
author -
msg -
Method Detail

getParent

public IntegrityChangeLogSet getParent()
Gets the IntegrityChangeLogSet to which this change set belongs.

Overrides:
getParent in class hudson.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:
setParent in class hudson.scm.ChangeLogSet.Entry

addPath

public void addPath(IntegrityChangeLogSet.IntegrityChangeLogPath p)

getPaths

@Exported
public List<IntegrityChangeLogSet.IntegrityChangeLogPath> getPaths()
Gets the files that are changed in this commit.

Returns:
can be empty but never null.

getAffectedPaths

public Collection<String> getAffectedPaths()


getAffectedFiles

public Collection<IntegrityChangeLogSet.IntegrityChangeLogPath> getAffectedFiles()
Overrides:
getAffectedFiles in class hudson.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!


getUser

@Exported
public String getUser()
Gets the user responsible for the change


setUser

public void setUser(String user)
Sets the user responsible for the change

Parameters:
user -

getMsg

@Exported
public String getMsg()
Returns the comments associated with the change


setMsg

public void setMsg(String msg)
Setter method to initialize the comments for this change

Parameters:
msg -

getRev

@Exported
public String getRev()
Returns the revision number associated with the change


setRev

public void setRev(String rev)
Provides the mechanism to populate the revision string for this Entry

Parameters:
rev -

getDate

@Exported
public String getDate()
Returns the modification timestamp for this Entry

Parameters:
rev -

setDate

public void setDate(String date)
Sets the date stamp for when this change was made

Parameters:
date -

getAction

@Exported
public String getAction()
Returns the action associated with this change, i.e. add, update, or delete

Returns:

setAction

public void setAction(String action)
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

public String getFile()
Returns the Integrity Project Member path for this change

Returns:

setFile

public void setFile(String file)
Sets the Integrity Project Member path for this change

Parameters:
file -

getAnnotation

public String getAnnotation()
Returns a string url representation containing the link to the Integrity Annotated Member view

Returns:

setAnnotation

public void setAnnotation(String annotation)
Sets a string url representation containing the link to the Integrity Annotated Member view

Parameters:
annotation -

getDifferences

public String getDifferences()
Returns a string representation containing the link to the Integrity Member differences view

Returns:

setDifferences

public void setDifferences(String differences)
Sets a string url representation containing the link to the Integrity Member differences view

Parameters:
differences -


Copyright © 2004-2012 Hudson. All Rights Reserved.