jetbrains.buildServer
Class UserChangeInfo.BuildTypeChangeStatus

java.lang.Object
  extended by jetbrains.buildServer.UserChangeInfo.BuildTypeChangeStatus
Enclosing class:
UserChangeInfo

public static class UserChangeInfo.BuildTypeChangeStatus
extends java.lang.Object

Describes the status of the change in the particular build configuration


Constructor Summary
UserChangeInfo.BuildTypeChangeStatus()
           
 
Method Summary
 Build getCurrentBuild()
          Returns either the first successful build which contains this change or latest build with this change if there were no successful builds with this change.
 Build getFirstBuildWithChange()
          Get first build which contains this change
 Build getFixedInBuild()
          Get first successful build with this change
 boolean isSuccessful()
          Returns true if there is a successful finished build with this change, false otherwise
 boolean isSuspicious()
          Deprecated. use !isSuccessful() instead
 void setCurrentBuild(Build currentBuild)
          Set the current build.
 void setFirstBuildWithChange(Build firstBuildWithChange)
          Sets first build which contains this change.
 void setFixedInBuild(Build fixedInBuild)
          Set first successful build with this change
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UserChangeInfo.BuildTypeChangeStatus

public UserChangeInfo.BuildTypeChangeStatus()
Method Detail

getFirstBuildWithChange

@Nullable
public Build getFirstBuildWithChange()
Get first build which contains this change

Returns:
see above

setFirstBuildWithChange

public void setFirstBuildWithChange(Build firstBuildWithChange)
Sets first build which contains this change. Used internally.

Parameters:
firstBuildWithChange - see above

getFixedInBuild

public Build getFixedInBuild()
Get first successful build with this change

Returns:
see above

setFixedInBuild

public void setFixedInBuild(Build fixedInBuild)
Set first successful build with this change

Parameters:
fixedInBuild - first successful build with this change

getCurrentBuild

@Nullable
public Build getCurrentBuild()
Returns either the first successful build which contains this change or latest build with this change if there were no successful builds with this change. Returns null if there were no builds with this change yet

Returns:
see above

setCurrentBuild

public void setCurrentBuild(Build currentBuild)
Set the current build. Used internally.

Parameters:
currentBuild - to set
See Also:
getCurrentBuild()

isSuccessful

public boolean isSuccessful()
Returns true if there is a successful finished build with this change, false otherwise

Returns:
see above

isSuspicious

public boolean isSuspicious()
Deprecated. use !isSuccessful() instead

Returns:
true if this change is pending, or is running, or is failing.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object