Class SkipVote

    • Constructor Detail

      • SkipVote

        @DataBoundConstructor
        public SkipVote​(boolean onSuccessful,
                        boolean onFailed,
                        boolean onUnstable,
                        boolean onNotBuilt,
                        boolean onAborted)
        Standard DataBound Constructor.
        Parameters:
        onSuccessful - if the vote should be skipped (not counted) for Result.SUCCESS builds.
        onFailed - if the vote should be skipped (not counted) for Result.FAILURE builds.
        onUnstable - if the vote should be skipped (not counted) for Result.UNSTABLE builds.
        onNotBuilt - if the vote should be skipped (not counted) for Result.NOT_BUILT builds.
        onAborted - if the vote should be skipped (not counted) for Result.ABORTED builds.
      • SkipVote

        @Deprecated
        public SkipVote​(boolean onSuccessful,
                        boolean onFailed,
                        boolean onUnstable,
                        boolean onNotBuilt)
        Old Standard DataBound Constructor left here for backwards compatiblity.
        Parameters:
        onSuccessful - if the vote should be skipped (not counted) for Result.SUCCESS builds.
        onFailed - if the vote should be skipped (not counted) for Result.FAILURE builds.
        onUnstable - if the vote should be skipped (not counted) for Result.UNSTABLE builds.
        onNotBuilt - if the vote should be skipped (not counted) for Result.NOT_BUILT builds.
      • SkipVote

        public SkipVote()
        Default Constructor.
    • Method Detail

      • isOnSuccessful

        public boolean isOnSuccessful()
        If the vote should be skipped (not counted) for Result.SUCCESS builds.
        Returns:
        true if it should be skipped.
      • setOnSuccessful

        public void setOnSuccessful​(boolean onSuccessful)
        If the vote should be skipped (not counted) for Result.SUCCESS builds.
        Parameters:
        onSuccessful - true if it should be skipped.
      • isOnFailed

        public boolean isOnFailed()
        If the vote should be skipped (not counted) for Result.FAILURE builds.
        Returns:
        true if it should be skipped.
      • setOnFailed

        public void setOnFailed​(boolean onFailed)
        If the vote should be skipped (not counted) for Result.FAILURE builds.
        Parameters:
        onFailed - true if it should be skipped.
      • isOnUnstable

        public boolean isOnUnstable()
        If the vote should be skipped (not counted) for Result.UNSTABLE builds.
        Returns:
        true if it should be skipped.
      • setOnUnstable

        public void setOnUnstable​(boolean onUnstable)
        If the vote should be skipped (not counted) for Result.UNSTABLE builds.
        Parameters:
        onUnstable - true if it should be skipped.
      • isOnNotBuilt

        public boolean isOnNotBuilt()
        If the vote should be skipped (not counted) for Result.NOT_BUILT builds.
        Returns:
        true if it should be skipped.
      • setOnNotBuilt

        public void setOnNotBuilt​(boolean onNotBuilt)
        If the vote should be skipped (not counted) for Result.NOT_BUILT builds.
        Parameters:
        onNotBuilt - true if it should be skipped.
      • isOnAborted

        public boolean isOnAborted()
        If the vote should be skipped (not counted) for Result.ABORTED builds.
        Returns:
        true if it should be skipped.
      • setOnAborted

        public void setOnAborted​(boolean onAborted)
        If the vote should be skipped (not counted) for Result.ABORTED builds.
        Parameters:
        onAborted - true if it should be skipped.