java.lang.Object
com.sonyericsson.hudson.plugins.gerrit.trigger.utils.Logic

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

    • 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.