software.amazon.awscdk.ConcreteDependable Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cdk Show documentation
Show all versions of cdk Show documentation
AWS Cloud Development Kit Core Library
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