Class RuleDeclaration
- java.lang.Object
-
- org.spongepowered.gradle.vanilla.internal.model.rule.RuleDeclaration
-
public final class RuleDeclaration extends java.lang.ObjectA testable declaration of rules with their values.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRuleDeclaration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RuleDeclaration.Builderbuilder()static RuleDeclarationempty()booleantest(RuleContext ctx)
-
-
-
Method Detail
-
empty
public static RuleDeclaration empty()
-
builder
public static RuleDeclaration.Builder builder()
-
test
public boolean test(RuleContext ctx)
-
-