Class DependencyCoordinates.Jsii$Proxy

    • 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.
    • Method Detail

      • getName

        public final String getName()
        Description copied from interface: DependencyCoordinates
        (experimental) The package manager name of the dependency (e.g. leftpad for npm).

        NOTE: For package managers that use complex coordinates (like Maven), we will codify it into a string somehow.

        Specified by:
        getName in interface DependencyCoordinates
      • getVersion

        public final String getVersion()
        Description copied from interface: DependencyCoordinates
        (experimental) Semantic version version requirement.

        Default: - requirement is managed by the package manager (e.g. npm/yarn).

        Specified by:
        getVersion in interface DependencyCoordinates
      • $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