Class 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 Detail

      • BuildTypeChangeStatus

        public 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

        @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 class java.lang.Object