Package hudson.scm

Class ChangeLogSet<T extends ChangeLogSet.Entry>

  • 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
    • Method Detail

      • getRun

        public Run<?,​?> getRun()
        Since:
        1.568
      • isEmptySet

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

        @Exported
        public final Object[] getItems()
        All changes in this change set.
      • getKind

        @Exported
        public String 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