software.amazon.awscdk.ISynthesisSession 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;
@javax.annotation.Generated(value = "jsii-pacmak/0.10.5 (build 46bc9b0)", date = "2019-05-06T20:49:40.954Z")
public interface ISynthesisSession extends software.amazon.jsii.JsiiSerializable {
software.amazon.awscdk.cxapi.AssemblyManifest getManifest();
software.amazon.awscdk.ISessionStore getStore();
void addArtifact(final java.lang.String id, final software.amazon.awscdk.cxapi.Artifact droplet);
void addBuildStep(final java.lang.String id, final software.amazon.awscdk.cxapi.BuildStep step);
software.amazon.awscdk.cxapi.Artifact getArtifact(final java.lang.String id);
software.amazon.awscdk.cxapi.Artifact tryGetArtifact(final java.lang.String id);
/**
* A proxy class which represents a concrete javascript instance of this type.
*/
final static class Jsii$Proxy extends software.amazon.jsii.JsiiObject implements software.amazon.awscdk.ISynthesisSession {
protected Jsii$Proxy(final software.amazon.jsii.JsiiObject.InitializationMode mode) {
super(mode);
}
@Override
public software.amazon.awscdk.cxapi.AssemblyManifest getManifest() {
return this.jsiiGet("manifest", software.amazon.awscdk.cxapi.AssemblyManifest.class);
}
@Override
public software.amazon.awscdk.ISessionStore getStore() {
return this.jsiiGet("store", software.amazon.awscdk.ISessionStore.class);
}
@Override
public void addArtifact(final java.lang.String id, final software.amazon.awscdk.cxapi.Artifact droplet) {
this.jsiiCall("addArtifact", Void.class, new Object[] { java.util.Objects.requireNonNull(id, "id is required"), java.util.Objects.requireNonNull(droplet, "droplet is required") });
}
@Override
public void addBuildStep(final java.lang.String id, final software.amazon.awscdk.cxapi.BuildStep step) {
this.jsiiCall("addBuildStep", Void.class, new Object[] { java.util.Objects.requireNonNull(id, "id is required"), java.util.Objects.requireNonNull(step, "step is required") });
}
@Override
public software.amazon.awscdk.cxapi.Artifact getArtifact(final java.lang.String id) {
return this.jsiiCall("getArtifact", software.amazon.awscdk.cxapi.Artifact.class, new Object[] { java.util.Objects.requireNonNull(id, "id is required") });
}
@Override
@javax.annotation.Nullable
public software.amazon.awscdk.cxapi.Artifact tryGetArtifact(final java.lang.String id) {
return this.jsiiCall("tryGetArtifact", software.amazon.awscdk.cxapi.Artifact.class, new Object[] { java.util.Objects.requireNonNull(id, "id is required") });
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy