Package hudson.scm
Class ChangeLogSet<T extends ChangeLogSet.Entry>
java.lang.Object
hudson.scm.ChangeLogSet<T>
- All Implemented Interfaces:
Iterable<T>
@ExportedBean(defaultVisibility=999)
public abstract class ChangeLogSet<T extends ChangeLogSet.Entry>
extends Object
implements 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 newer changes first then older changes later.
- Author:
- Kohsuke Kawaguchi
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
Represents a file change.static class
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
ChangeLogSet
(AbstractBuild<?, ?> build) Deprecated.protected
ChangeLogSet
(Run<?, ?> run, RepositoryBrowser<?> browser) -
Method Summary
Modifier and TypeMethodDescriptionstatic ChangeLogSet<? extends ChangeLogSet.Entry>
createEmpty
(AbstractBuild build) Deprecated.static ChangeLogSet<? extends ChangeLogSet.Entry>
createEmpty
(Run build) Constant instance that represents no changes.final Object[]
getItems()
All changes in this change set.getKind()
Optional identification of the kind of SCM being used.Run<?,
?> getRun()
abstract boolean
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
forEach, iterator, spliterator
-
Field Details
-
build
Deprecated.
-
-
Constructor Details
-
ChangeLogSet
- Since:
- 1.568
-
ChangeLogSet
Deprecated.
-
-
Method Details
-
getRun
- Since:
- 1.568
-
getBrowser
- Since:
- 1.568
-
isEmptySet
public abstract boolean isEmptySet()Returns true if there's no change. -
getItems
All changes in this change set. -
getKind
Optional identification of the kind of SCM being used.- Returns:
- a short token, such as the SCM's main CLI executable name
- Since:
- 1.284
-
createEmpty
Constant instance that represents no changes.- Since:
- 1.568
-
createEmpty
@Deprecated public static ChangeLogSet<? extends ChangeLogSet.Entry> createEmpty(AbstractBuild build) Deprecated.
-