Package jetbrains.buildServer
Class UserChangeInfo.BuildTypeChangeStatus
- java.lang.Object
-
- jetbrains.buildServer.UserChangeInfo.BuildTypeChangeStatus
-
- Enclosing class:
- UserChangeInfo
public static class UserChangeInfo.BuildTypeChangeStatus extends Object
Describes the status of the change in the particular build configuration
-
-
Constructor Summary
Constructors Constructor Description BuildTypeChangeStatus()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description BuildgetCurrentBuild()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.BuildgetFirstBuildWithChange()Get first build which contains this changeBuildgetFixedInBuild()Get first successful build with this changebooleanisSuccessful()Returns true if there is a successful finished build with this change, false otherwisebooleanisSuspicious()Deprecated.use !isSuccessful() insteadprotected voidsetCurrentBuild(Build currentBuild)Set the current build.protected voidsetFirstBuildWithChange(Build firstBuildWithChange)Sets first build which contains this change.protected voidsetFixedInBuild(Build fixedInBuild)Set first successful build with this changeStringtoString()
-
-
-
Method Detail
-
getFirstBuildWithChange
@Nullable public Build getFirstBuildWithChange()
Get first build which contains this change- Returns:
- see above
-
setFirstBuildWithChange
protected 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
protected 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
protected 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
@Deprecated public boolean isSuspicious()
Deprecated.use !isSuccessful() instead- Returns:
- true if this change is pending, or is running, or is failing.
-
-