hudson.model
Class AbstractBuild.DependencyChange

java.lang.Object
  extended by 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
 AbstractBuild from
          Build object for fromId.
 int fromId
          Version of the dependency project used in the previous build.
 AbstractProject project
          The dependency project.
 AbstractBuild to
           
 int toId
          Version of the dependency project used in this build.
 
Constructor Summary
AbstractBuild.DependencyChange(AbstractProject<?,?> project, int fromId, int toId)
           
 
Method Summary
 List<AbstractBuild> getBuilds()
          Gets the AbstractBuild objects (fromId,toId].
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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
Build object for fromId. Can be null if the log is gone.


toId

public final int toId
Version of the dependency project used in this build.


to

public final AbstractBuild to
Constructor Detail

AbstractBuild.DependencyChange

public AbstractBuild.DependencyChange(AbstractProject<?,?> project,
                                      int fromId,
                                      int toId)
Method Detail

getBuilds

public List<AbstractBuild> getBuilds()
Gets the AbstractBuild objects (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.



Copyright © 2004-2013. All Rights Reserved.