com.sonyericsson.hudson.plugins.gerrit.trigger.utils
Class Logic
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 Summary |
static boolean |
shouldSkip(SkipVote skipVote,
hudson.model.Result result)
If the given result should be skipped according to the configuration. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
shouldSkip
public static boolean shouldSkip(SkipVote skipVote,
hudson.model.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.
Copyright © 2004-2013. All Rights Reserved.