Package com.google.gerrit.server.project
Class SubmitRuleOptions
- java.lang.Object
-
- com.google.gerrit.server.project.SubmitRuleOptions
-
public abstract class SubmitRuleOptions extends Object
Stable identifier for options passed to a particular submit rule evaluator.Used to test whether it is ok to reuse a cached list of submit records. Does not include a change or patch set ID; callers are responsible for checking those on their own.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SubmitRuleOptions.Builder
-
Constructor Summary
Constructors Constructor Description SubmitRuleOptions()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static SubmitRuleOptions.Builder
builder()
static SubmitRuleOptions
defaults()
abstract boolean
recomputeOnClosedChanges()
True if the submit rules should be recomputed even when the change is already closed (merged).abstract SubmitRuleOptions.Builder
toBuilder()
-
-
-
Method Detail
-
defaults
public static SubmitRuleOptions defaults()
-
builder
public static SubmitRuleOptions.Builder builder()
-
recomputeOnClosedChanges
public abstract boolean recomputeOnClosedChanges()
True if the submit rules should be recomputed even when the change is already closed (merged).
-
toBuilder
public abstract SubmitRuleOptions.Builder toBuilder()
-
-