org.projen.Component Maven / Gradle / Ivy
Show all versions of projen Show documentation
package org.projen;
/**
* (experimental) Represents a project component.
*/
@javax.annotation.Generated(value = "jsii-pacmak/1.34.0 (build 9b72778)", date = "2021-09-05T18:03:03.825Z")
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@software.amazon.jsii.Jsii(module = org.projen.$Module.class, fqn = "projen.Component")
public class Component extends software.amazon.jsii.JsiiObject {
protected Component(final software.amazon.jsii.JsiiObjectRef objRef) {
super(objRef);
}
protected Component(final software.amazon.jsii.JsiiObject.InitializationMode initializationMode) {
super(initializationMode);
}
/**
* @param project This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Component(final @org.jetbrains.annotations.NotNull org.projen.Project project) {
super(software.amazon.jsii.JsiiObject.InitializationMode.JSII);
software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(project, "project is required") });
}
/**
* (experimental) Called after synthesis.
*
* Order is not guaranteed.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public void postSynthesize() {
software.amazon.jsii.Kernel.call(this, "postSynthesize", software.amazon.jsii.NativeType.VOID);
}
/**
* (experimental) Called before synthesis.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public void preSynthesize() {
software.amazon.jsii.Kernel.call(this, "preSynthesize", software.amazon.jsii.NativeType.VOID);
}
/**
* (experimental) Synthesizes files to the project output directory.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public void synthesize() {
software.amazon.jsii.Kernel.call(this, "synthesize", software.amazon.jsii.NativeType.VOID);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public @org.jetbrains.annotations.NotNull org.projen.Project getProject() {
return software.amazon.jsii.Kernel.get(this, "project", software.amazon.jsii.NativeType.forClass(org.projen.Project.class));
}
}