All Downloads are FREE. Search and download functionalities are using the official Maven repository.

software.amazon.awscdk.ConcreteDependable Maven / Gradle / Ivy

There is a newer version: 0.36.1
Show newest version
package software.amazon.awscdk;

/**
 * A set of constructs to be used as a dependable.
 * 
 * This class can be used when a set of constructs which are disjoint in the
 * construct tree needs to be combined to be used as a single dependable.
 */
@javax.annotation.Generated(value = "jsii-pacmak/0.10.5 (build 46bc9b0)", date = "2019-05-06T20:49:40.942Z")
@software.amazon.jsii.Jsii(module = software.amazon.awscdk.$Module.class, fqn = "@aws-cdk/cdk.ConcreteDependable")
public class ConcreteDependable extends software.amazon.jsii.JsiiObject implements software.amazon.awscdk.IDependable {
    protected ConcreteDependable(final software.amazon.jsii.JsiiObject.InitializationMode mode) {
        super(mode);
    }
    public ConcreteDependable() {
        super(software.amazon.jsii.JsiiObject.InitializationMode.Jsii);
        software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this);
    }

    /**
     * Add a construct to the dependency roots.
     */
    public void add(final software.amazon.awscdk.IConstruct construct) {
        this.jsiiCall("add", Void.class, new Object[] { java.util.Objects.requireNonNull(construct, "construct is required") });
    }

    /**
     * Retrieve the current set of dependency roots.
     */
    @Override
    public java.util.List getDependencyRoots() {
        return this.jsiiGet("dependencyRoots", java.util.List.class);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy