Class Logic


  • public abstract class Logic
    extends Object
    Common static logic utility methods.
    Author:
    Robert Sandell <robert.sandell@sonymobile.com>
    • Method Detail

      • shouldSkip

        public static boolean shouldSkip​(SkipVote skipVote,
                                         Result result)
        If the given result should be skipped according to the configuration.
        Parameters:
        skipVote - the skip configuration.
        result - the build result.
        Returns:
        true if skipped, false if not or skipVote is null.