Package jetbrains.buildServer
Class UserChangeInfo.BuildTypeChangeStatus
- java.lang.Object
-
- 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
Constructors Constructor Description BuildTypeChangeStatus()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description 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 changeBuild
getFixedInBuild()
Get first successful build with this changeboolean
isSuccessful()
Returns true if there is a successful finished build with this change, false otherwiseboolean
isSuspicious()
Deprecated.use !isSuccessful() insteadvoid
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 changejava.lang.String
toString()
-
-
-
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
@Deprecated 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 classjava.lang.Object
-
-