hudson.scm
Class ChangeLogSet<T extends ChangeLogSet.Entry>

java.lang.Object
  extended by hudson.scm.ChangeLogSet<T>
All Implemented Interfaces:
java.lang.Iterable<T>
Direct Known Subclasses:
SubversionReleaseChangeLogSet

@ExportedBean(defaultVisibility=999)
public abstract class ChangeLogSet<T extends ChangeLogSet.Entry>
extends java.lang.Object
implements java.lang.Iterable<T>

Represents SCM change list.

Use the "index" view of this object to render the changeset detail page, and use the "digest" view of this object to render the summary page. For the change list at project level, see SCM.

Iterator is expected to return recent changes first.

Author:
Kohsuke Kawaguchi

Nested Class Summary
static class ChangeLogSet.Entry
           
 
Field Summary
 hudson.model.AbstractBuild<?,?> build
          AbstractBuild whose change log this object represents.
 
Constructor Summary
protected ChangeLogSet(hudson.model.AbstractBuild<?,?> build)
           
 
Method Summary
static ChangeLogSet<? extends ChangeLogSet.Entry> createEmpty(hudson.model.AbstractBuild build)
          Constant instance that represents no changes.
 java.lang.Object[] getItems()
          All changes in the change set.
abstract  boolean isEmptySet()
          Returns true if there's no change.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.lang.Iterable
iterator
 

Field Detail

build

public final hudson.model.AbstractBuild<?,?> build
AbstractBuild whose change log this object represents.

Constructor Detail

ChangeLogSet

protected ChangeLogSet(hudson.model.AbstractBuild<?,?> build)
Method Detail

isEmptySet

public abstract boolean isEmptySet()
Returns true if there's no change.


getItems

@Exported
public final java.lang.Object[] getItems()
All changes in the change set.


createEmpty

public static ChangeLogSet<? extends ChangeLogSet.Entry> createEmpty(hudson.model.AbstractBuild build)
Constant instance that represents no changes.



Copyright © 2009. All Rights Reserved.