Package io.github.cdklabs.projen.github
Interface MergifyRule
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
MergifyRule.Jsii$Proxy
@Generated(value="jsii-pacmak/1.96.0 (build 921e240)", date="2024-03-28T21:16:43.085Z") @Stability(Experimental) public interface MergifyRule extends software.amazon.jsii.JsiiSerializable
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classMergifyRule.BuilderA builder forMergifyRulestatic classMergifyRule.Jsii$ProxyAn implementation forMergifyRule
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static MergifyRule.Builderbuilder()Map<String,Object>getActions()(experimental) A dictionary made of Actions that will be executed on the matching pull requests.List<Object>getConditions()(experimental) A list of Conditions string that must match against the pull request for the rule to be applied.StringgetName()(experimental) The name of the rule.
-
-
-
Method Detail
-
getActions
@Stability(Experimental) @NotNull Map<String,Object> getActions()
(experimental) A dictionary made of Actions that will be executed on the matching pull requests.- See Also:
- https://docs.mergify.io/actions/#actions
-
getConditions
@Stability(Experimental) @NotNull List<Object> getConditions()
(experimental) A list of Conditions string that must match against the pull request for the rule to be applied.
-
getName
@Stability(Experimental) @NotNull String getName()
(experimental) The name of the rule.This is not used by the engine directly, but is used when reporting information about a rule.
-
builder
@Stability(Experimental) static MergifyRule.Builder builder()
- Returns:
- a
MergifyRule.BuilderofMergifyRule
-
-