Package hudson.model
Class AbstractBuild.DependencyChange
- java.lang.Object
-
- hudson.model.AbstractBuild.DependencyChange
-
- Enclosing class:
- AbstractBuild<P extends AbstractProject<P,R>,R extends AbstractBuild<P,R>>
public static final class AbstractBuild.DependencyChange extends Object
Represents a change in the dependency.
-
-
Field Summary
Fields Modifier and Type Field Description AbstractBuildfromintfromIdVersion of the dependency project used in the previous build.AbstractProjectprojectThe dependency project.AbstractBuildtointtoIdVersion of the dependency project used in this build.
-
Constructor Summary
Constructors Constructor Description DependencyChange(AbstractProject<?,?> project, int fromId, int toId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<AbstractBuild>getBuilds()Gets theAbstractBuildobjects (fromId,toId].
-
-
-
Field Detail
-
project
public final AbstractProject project
The dependency project.
-
fromId
public final int fromId
Version of the dependency project used in the previous build.
-
from
public final AbstractBuild from
-
toId
public final int toId
Version of the dependency project used in this build.
-
to
public final AbstractBuild to
-
-
Constructor Detail
-
DependencyChange
public DependencyChange(AbstractProject<?,?> project, int fromId, int toId)
-
-
Method Detail
-
getBuilds
public List<AbstractBuild> getBuilds()
Gets theAbstractBuildobjects (fromId,toId].This method returns all such available builds in the ascending order of IDs, but due to log rotations, some builds may be already unavailable.
-
-