Class Rule.Jsii$Proxy

  • All Implemented Interfaces:
    Rule, software.amazon.jsii.JsiiSerializable
    Enclosing interface:
    Rule

    @Stability(Experimental)
    @Internal
    public static final class Rule.Jsii$Proxy
    extends software.amazon.jsii.JsiiObject
    implements Rule
    An implementation for Rule
    • Nested Class Summary

      • Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

        software.amazon.jsii.JsiiObject.InitializationMode
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected Jsii$Proxy​(Rule.Builder builder)
      Constructor that initializes the object based on literal property values passed by the Rule.Builder.
      protected Jsii$Proxy​(software.amazon.jsii.JsiiObjectRef objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
    • Constructor Detail

      • Jsii$Proxy

        protected Jsii$Proxy​(software.amazon.jsii.JsiiObjectRef objRef)
        Constructor that initializes the object based on values retrieved from the JsiiObject.
        Parameters:
        objRef - Reference to the JSII managed object.
      • Jsii$Proxy

        protected Jsii$Proxy​(Rule.Builder builder)
        Constructor that initializes the object based on literal property values passed by the Rule.Builder.
    • Method Detail

      • getTargets

        public final List<String> getTargets()
        Description copied from interface: Rule
        (experimental) Files to be created or updated by this rule.

        If the rule is phony then instead this represents the command's name(s).

        Specified by:
        getTargets in interface Rule
      • getPhony

        public final Boolean getPhony()
        Description copied from interface: Rule
        (experimental) Marks whether the target is phony.

        Default: false

        Specified by:
        getPhony in interface Rule
      • getPrerequisites

        public final List<String> getPrerequisites()
        Description copied from interface: Rule
        (experimental) Files that are used as inputs to create a target.

        Default: []

        Specified by:
        getPrerequisites in interface Rule
      • getRecipe

        public final List<String> getRecipe()
        Description copied from interface: Rule
        (experimental) Commands that are run (using prerequisites as inputs) to create a target.

        Default: []

        Specified by:
        getRecipe in interface Rule
      • $jsii$toJson

        @Internal
        public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
        Specified by:
        $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object