io.github.cdklabs.cdk.cicd.wrapper.IPlugin Maven / Gradle / Ivy
Show all versions of cdk-cicd-wrapper Show documentation
package io.github.cdklabs.cdk.cicd.wrapper;
/**
* Represents a pipeline plugin.
*/
@javax.annotation.Generated(value = "jsii-pacmak/1.103.1 (build bef2dea)", date = "2024-09-03T16:35:59.322Z")
@software.amazon.jsii.Jsii(module = io.github.cdklabs.cdk.cicd.wrapper.$Module.class, fqn = "@cdklabs/cdk-cicd-wrapper.IPlugin")
@software.amazon.jsii.Jsii.Proxy(IPlugin.Jsii$Proxy.class)
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public interface IPlugin extends software.amazon.jsii.JsiiSerializable {
/**
* The name of the plugin.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
@org.jetbrains.annotations.NotNull java.lang.String getName();
/**
* The version of the plugin.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
@org.jetbrains.annotations.NotNull java.lang.String getVersion();
/**
* The method called after the stage is created.
*
* @param scope This parameter is required.
* @param context This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
void afterStage(final @org.jetbrains.annotations.NotNull software.constructs.Construct scope, final @org.jetbrains.annotations.NotNull io.github.cdklabs.cdk.cicd.wrapper.ResourceContext context);
/**
* The method called before the stage is created.
*
* @param scope This parameter is required.
* @param context This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
void beforeStage(final @org.jetbrains.annotations.NotNull software.constructs.Construct scope, final @org.jetbrains.annotations.NotNull io.github.cdklabs.cdk.cicd.wrapper.ResourceContext context);
/**
* The method called when the Pipeline configuration finalized.
*
* @param context This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
void create(final @org.jetbrains.annotations.NotNull io.github.cdklabs.cdk.cicd.wrapper.ResourceContext context);
/**
* A proxy class which represents a concrete javascript instance of this type.
*/
@software.amazon.jsii.Internal
final class Jsii$Proxy extends software.amazon.jsii.JsiiObject implements io.github.cdklabs.cdk.cicd.wrapper.IPlugin.Jsii$Default {
protected Jsii$Proxy(final software.amazon.jsii.JsiiObjectRef objRef) {
super(objRef);
}
/**
* The name of the plugin.
*/
@Override
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public final @org.jetbrains.annotations.NotNull java.lang.String getName() {
return software.amazon.jsii.Kernel.get(this, "name", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
}
/**
* The version of the plugin.
*/
@Override
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public final @org.jetbrains.annotations.NotNull java.lang.String getVersion() {
return software.amazon.jsii.Kernel.get(this, "version", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
}
/**
* The method called after the stage is created.
*
* @param scope This parameter is required.
* @param context This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
@Override
public final void afterStage(final @org.jetbrains.annotations.NotNull software.constructs.Construct scope, final @org.jetbrains.annotations.NotNull io.github.cdklabs.cdk.cicd.wrapper.ResourceContext context) {
software.amazon.jsii.Kernel.call(this, "afterStage", software.amazon.jsii.NativeType.VOID, new Object[] { java.util.Objects.requireNonNull(scope, "scope is required"), java.util.Objects.requireNonNull(context, "context is required") });
}
/**
* The method called before the stage is created.
*
* @param scope This parameter is required.
* @param context This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
@Override
public final void beforeStage(final @org.jetbrains.annotations.NotNull software.constructs.Construct scope, final @org.jetbrains.annotations.NotNull io.github.cdklabs.cdk.cicd.wrapper.ResourceContext context) {
software.amazon.jsii.Kernel.call(this, "beforeStage", software.amazon.jsii.NativeType.VOID, new Object[] { java.util.Objects.requireNonNull(scope, "scope is required"), java.util.Objects.requireNonNull(context, "context is required") });
}
/**
* The method called when the Pipeline configuration finalized.
*
* @param context This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
@Override
public final void create(final @org.jetbrains.annotations.NotNull io.github.cdklabs.cdk.cicd.wrapper.ResourceContext context) {
software.amazon.jsii.Kernel.call(this, "create", software.amazon.jsii.NativeType.VOID, new Object[] { java.util.Objects.requireNonNull(context, "context is required") });
}
}
/**
* Internal default implementation for {@link IPlugin}.
*/
@software.amazon.jsii.Internal
interface Jsii$Default extends IPlugin {
/**
* The name of the plugin.
*/
@Override
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
default @org.jetbrains.annotations.NotNull java.lang.String getName() {
return software.amazon.jsii.Kernel.get(this, "name", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
}
/**
* The version of the plugin.
*/
@Override
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
default @org.jetbrains.annotations.NotNull java.lang.String getVersion() {
return software.amazon.jsii.Kernel.get(this, "version", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
}
/**
* The method called after the stage is created.
*
* @param scope This parameter is required.
* @param context This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
@Override
default void afterStage(final @org.jetbrains.annotations.NotNull software.constructs.Construct scope, final @org.jetbrains.annotations.NotNull io.github.cdklabs.cdk.cicd.wrapper.ResourceContext context) {
software.amazon.jsii.Kernel.call(this, "afterStage", software.amazon.jsii.NativeType.VOID, new Object[] { java.util.Objects.requireNonNull(scope, "scope is required"), java.util.Objects.requireNonNull(context, "context is required") });
}
/**
* The method called before the stage is created.
*
* @param scope This parameter is required.
* @param context This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
@Override
default void beforeStage(final @org.jetbrains.annotations.NotNull software.constructs.Construct scope, final @org.jetbrains.annotations.NotNull io.github.cdklabs.cdk.cicd.wrapper.ResourceContext context) {
software.amazon.jsii.Kernel.call(this, "beforeStage", software.amazon.jsii.NativeType.VOID, new Object[] { java.util.Objects.requireNonNull(scope, "scope is required"), java.util.Objects.requireNonNull(context, "context is required") });
}
/**
* The method called when the Pipeline configuration finalized.
*
* @param context This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
@Override
default void create(final @org.jetbrains.annotations.NotNull io.github.cdklabs.cdk.cicd.wrapper.ResourceContext context) {
software.amazon.jsii.Kernel.call(this, "create", software.amazon.jsii.NativeType.VOID, new Object[] { java.util.Objects.requireNonNull(context, "context is required") });
}
}
}