org.jvnet.hudson.test
Class ExtractChangeLogParser.ExtractChangeLogEntry

java.lang.Object
  extended by hudson.scm.ChangeLogSet.Entry
      extended by org.jvnet.hudson.test.ExtractChangeLogParser.ExtractChangeLogEntry
Enclosing class:
ExtractChangeLogParser

@ExportedBean(defaultVisibility=999)
public static class ExtractChangeLogParser.ExtractChangeLogEntry
extends ChangeLogSet.Entry


Constructor Summary
ExtractChangeLogParser.ExtractChangeLogEntry()
           
ExtractChangeLogParser.ExtractChangeLogEntry(String zipFile)
           
 
Method Summary
 void addFile(ExtractChangeLogParser.FileInZip fileName)
           
 void addFiles(Collection<ExtractChangeLogParser.FileInZip> fileNames)
           
 Collection<String> getAffectedPaths()
          Returns a set of paths in the workspace that was affected by this change.
 User getAuthor()
          The user who made this change.
 String getMsg()
          Gets the "commit message".
 String getZipFile()
           
 void setParent(ChangeLogSet parent)
          Should be invoked before a ChangeLogSet is exposed to public.
 void setZipFile(String zipFile)
           
 
Methods inherited from class hudson.scm.ChangeLogSet.Entry
getAffectedFiles, getCommitId, getMsgAnnotated, getMsgEscaped, getParent, getTimestamp
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExtractChangeLogParser.ExtractChangeLogEntry

public ExtractChangeLogParser.ExtractChangeLogEntry()

ExtractChangeLogParser.ExtractChangeLogEntry

public ExtractChangeLogParser.ExtractChangeLogEntry(String zipFile)
Method Detail

setZipFile

public void setZipFile(String zipFile)

getZipFile

@Exported
public String getZipFile()

setParent

public void setParent(ChangeLogSet parent)
Description copied from class: ChangeLogSet.Entry
Should be invoked before a ChangeLogSet is exposed to public.

Overrides:
setParent in class ChangeLogSet.Entry

getAffectedPaths

public Collection<String> getAffectedPaths()
Description copied from class: ChangeLogSet.Entry
Returns a set of paths in the workspace that was affected by this change.

Contains string like 'foo/bar/zot'. No leading/trailing '/', and separator must be normalized to '/'.

Specified by:
getAffectedPaths in class ChangeLogSet.Entry
Returns:
never null.

getAuthor

@Exported
public User getAuthor()
Description copied from class: ChangeLogSet.Entry
The user who made this change.

Specified by:
getAuthor in class ChangeLogSet.Entry
Returns:
never null.

getMsg

@Exported
public String getMsg()
Description copied from class: ChangeLogSet.Entry
Gets the "commit message".

The exact definition depends on the individual SCM implementation.

Specified by:
getMsg in class ChangeLogSet.Entry
Returns:
Can be empty but never null.

addFile

public void addFile(ExtractChangeLogParser.FileInZip fileName)

addFiles

public void addFiles(Collection<ExtractChangeLogParser.FileInZip> fileNames)


Copyright © 2004-2013. All Rights Reserved.