Class CdkGraphDiagramPlugin
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- software.aws.awsprototypingsdk.cdkgraphplugindiagram.CdkGraphDiagramPlugin
-
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable,software.aws.awsprototypingsdk.cdkgraph.ICdkGraphPlugin
@Generated(value="jsii-pacmak/1.71.0 (build f1f58ae)", date="2022-11-28T05:22:28.479Z") @Stability(Experimental) public class CdkGraphDiagramPlugin extends software.amazon.jsii.JsiiObject implements software.aws.awsprototypingsdk.cdkgraph.ICdkGraphPlugin
(experimental) CdkGraphDiagramPlugin is aCdkGraph Pluginimplementation for generating diagram artifacts from theCdkGraphframework.
-
-
Constructor Summary
Constructors Modifier Constructor Description CdkGraphDiagramPlugin()protectedCdkGraphDiagramPlugin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)protectedCdkGraphDiagramPlugin(software.amazon.jsii.JsiiObjectRef objRef)CdkGraphDiagramPlugin(IPluginConfig config)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StringartifactFilename(String name, DiagramFormat format)(experimental) Get standardized artifact file name for diagram artifacts.static StringartifactId(String name, DiagramFormat format)(experimental) Get standardized artifact id for diagram artifacts.software.aws.awsprototypingsdk.cdkgraph.IGraphPluginBindCallbackgetBind()(experimental) Binds the plugin to the CdkGraph instance.IPluginConfiggetConfig()(experimental) Get diagram plugin config.software.aws.awsprototypingsdk.cdkgraph.CdkGraphArtifactgetDefaultDotArtifact()(experimental) Get default dot artifact.software.aws.awsprototypingsdk.cdkgraph.CdkGraphArtifactgetDefaultPngArtifact()(experimental) Get default PNG artifact.List<String>getDependencies()(experimental) List of plugins this plugin depends on, including optional semver version (eg: ["foo", "bar@1.2"]).software.aws.awsprototypingsdk.cdkgraph.CdkGraphArtifactgetDiagramArtifact(String name, DiagramFormat format)(experimental) Get diagram artifact for a given name and format.StringgetId()(experimental) Unique identifier for this plugin.software.aws.awsprototypingsdk.cdkgraph.IGraphReportCallbackgetReport()(experimental) Generate asynchronous reports based on the graph.StringgetVersion()(experimental) Plugin version.voidsetBind(software.aws.awsprototypingsdk.cdkgraph.IGraphPluginBindCallback value)(experimental) Binds the plugin to the CdkGraph instance.voidsetReport(software.aws.awsprototypingsdk.cdkgraph.IGraphReportCallback value)(experimental) Generate asynchronous reports based on the graph.-
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Field Detail
-
ARTIFACT_NS
@Stability(Experimental) public static final String ARTIFACT_NS
(experimental) Namespace for artifacts of the diagram plugin.
-
ID
@Stability(Experimental) public static final String ID
(experimental) Fixed id of the diagram plugin.
-
VERSION
@Stability(Experimental) public static final String VERSION
(experimental) Current semantic version of the diagram plugin.
-
-
Constructor Detail
-
CdkGraphDiagramPlugin
protected CdkGraphDiagramPlugin(software.amazon.jsii.JsiiObjectRef objRef)
-
CdkGraphDiagramPlugin
protected CdkGraphDiagramPlugin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
-
CdkGraphDiagramPlugin
@Stability(Experimental) public CdkGraphDiagramPlugin(@Nullable IPluginConfig config)- Parameters:
config-
-
CdkGraphDiagramPlugin
@Stability(Experimental) public CdkGraphDiagramPlugin()
-
-
Method Detail
-
artifactFilename
@Stability(Experimental) @NotNull public static String artifactFilename(@NotNull String name, @NotNull DiagramFormat format)
(experimental) Get standardized artifact file name for diagram artifacts.- Parameters:
name- This parameter is required.format- This parameter is required.
-
artifactId
@Stability(Experimental) @NotNull public static String artifactId(@NotNull String name, @NotNull DiagramFormat format)
(experimental) Get standardized artifact id for diagram artifacts.- Parameters:
name- This parameter is required.format- This parameter is required.
-
getDiagramArtifact
@Stability(Experimental) @Nullable public software.aws.awsprototypingsdk.cdkgraph.CdkGraphArtifact getDiagramArtifact(@NotNull String name, @NotNull DiagramFormat format)(experimental) Get diagram artifact for a given name and format.- Parameters:
name- This parameter is required.format- This parameter is required.
-
getConfig
@Stability(Experimental) @NotNull public IPluginConfig getConfig()
(experimental) Get diagram plugin config.
-
getId
@Stability(Experimental) @NotNull public String getId()
(experimental) Unique identifier for this plugin.- Specified by:
getIdin interfacesoftware.aws.awsprototypingsdk.cdkgraph.ICdkGraphPlugin
-
getVersion
@Stability(Experimental) @NotNull public String getVersion()
(experimental) Plugin version.- Specified by:
getVersionin interfacesoftware.aws.awsprototypingsdk.cdkgraph.ICdkGraphPlugin
-
getDefaultDotArtifact
@Stability(Experimental) @Nullable public software.aws.awsprototypingsdk.cdkgraph.CdkGraphArtifact getDefaultDotArtifact()
(experimental) Get default dot artifact.
-
getDefaultPngArtifact
@Stability(Experimental) @Nullable public software.aws.awsprototypingsdk.cdkgraph.CdkGraphArtifact getDefaultPngArtifact()
(experimental) Get default PNG artifact.
-
getDependencies
@Stability(Experimental) @Nullable public List<String> getDependencies()
(experimental) List of plugins this plugin depends on, including optional semver version (eg: ["foo", "bar@1.2"]).- Specified by:
getDependenciesin interfacesoftware.aws.awsprototypingsdk.cdkgraph.ICdkGraphPlugin
-
getBind
@Stability(Experimental) @NotNull public software.aws.awsprototypingsdk.cdkgraph.IGraphPluginBindCallback getBind()
(experimental) Binds the plugin to the CdkGraph instance.Enables plugins to receive base configs.
- Specified by:
getBindin interfacesoftware.aws.awsprototypingsdk.cdkgraph.ICdkGraphPlugin
-
setBind
@Stability(Experimental) public void setBind(@NotNull software.aws.awsprototypingsdk.cdkgraph.IGraphPluginBindCallback value)(experimental) Binds the plugin to the CdkGraph instance.Enables plugins to receive base configs.
- Specified by:
setBindin interfacesoftware.aws.awsprototypingsdk.cdkgraph.ICdkGraphPlugin
-
getReport
@Stability(Experimental) @Nullable public software.aws.awsprototypingsdk.cdkgraph.IGraphReportCallback getReport()
(experimental) Generate asynchronous reports based on the graph.This is not automatically called when synthesizing CDK. Developer must explicitly add
await graphInstance.report()to the CDK bin or invoke this outside of the CDK synth. In either case, the plugin receives the in-memory graph interface when invoked, as the CdkGraph will deserialize the graph prior to invoking the plugin report.- Specified by:
getReportin interfacesoftware.aws.awsprototypingsdk.cdkgraph.ICdkGraphPlugin
-
setReport
@Stability(Experimental) public void setReport(@Nullable software.aws.awsprototypingsdk.cdkgraph.IGraphReportCallback value)(experimental) Generate asynchronous reports based on the graph.This is not automatically called when synthesizing CDK. Developer must explicitly add
await graphInstance.report()to the CDK bin or invoke this outside of the CDK synth. In either case, the plugin receives the in-memory graph interface when invoked, as the CdkGraph will deserialize the graph prior to invoking the plugin report.- Specified by:
setReportin interfacesoftware.aws.awsprototypingsdk.cdkgraph.ICdkGraphPlugin
-
-