Package io.github.cdklabs.projen
Interface Rule
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
Rule.Jsii$Proxy
@Generated(value="jsii-pacmak/1.96.0 (build 921e240)", date="2024-03-28T21:16:42.799Z") @Stability(Experimental) public interface Rule extends software.amazon.jsii.JsiiSerializable
(experimental) A Make rule.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classRule.BuilderA builder forRulestatic classRule.Jsii$ProxyAn implementation forRule
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static Rule.Builderbuilder()default BooleangetPhony()(experimental) Marks whether the target is phony.default List<String>getPrerequisites()(experimental) Files that are used as inputs to create a target.default List<String>getRecipe()(experimental) Commands that are run (using prerequisites as inputs) to create a target.List<String>getTargets()(experimental) Files to be created or updated by this rule.
-
-
-
Method Detail
-
getTargets
@Stability(Experimental) @NotNull List<String> getTargets()
(experimental) Files to be created or updated by this rule.If the rule is phony then instead this represents the command's name(s).
-
getPhony
@Stability(Experimental) @Nullable default Boolean getPhony()
(experimental) Marks whether the target is phony.Default: false
-
getPrerequisites
@Stability(Experimental) @Nullable default List<String> getPrerequisites()
(experimental) Files that are used as inputs to create a target.Default: []
-
getRecipe
@Stability(Experimental) @Nullable default List<String> getRecipe()
(experimental) Commands that are run (using prerequisites as inputs) to create a target.Default: []
-
builder
@Stability(Experimental) static Rule.Builder builder()
- Returns:
- a
Rule.BuilderofRule
-
-