NestedCloudAssemblyArtifact
Asset manifest is a description of a set of assets which need to be built and published.
Initializers
import com.aliyun.ros.cdk.cxapi.NestedCloudAssemblyArtifact;
NestedCloudAssemblyArtifact.Builder.create(CloudAssembly assembly, java.lang.String name)
.type(ArtifactType)
// .dependencies(java.util.List<java.lang.String>)
// .metadata(java.util.Map<java.lang.String, java.util.List<MetadataEntry>>)
// .properties(AliyunRosStackProperties)
// .properties(TreeArtifactProperties)
// .properties(NestedCloudAssemblyProperties)
.build();
Name | Type | Description |
---|---|---|
assembly |
CloudAssembly |
No description. |
name |
java.lang.String |
No description. |
type |
com.aliyun.ros.cdk.assembly.schema.ArtifactType |
The type of artifact. |
dependencies |
java.util.List |
IDs of artifacts that must be deployed before this artifact. |
metadata |
java.util.Map |
Associated metadata. |
properties |
com.aliyun.ros.cdk.assembly.schema.AliyunRosStackProperties OR com.aliyun.ros.cdk.assembly.schema.TreeArtifactProperties OR com.aliyun.ros.cdk.assembly.schema.NestedCloudAssemblyProperties |
The set of properties for this artifact (depends on type). |
assembly
Required
- Type: CloudAssembly
name
Required
- Type: java.lang.String
type
Required
- Type: com.aliyun.ros.cdk.assembly.schema.ArtifactType
The type of artifact.
dependencies
Optional
- Type: java.util.List
- Default: no dependencies.
IDs of artifacts that must be deployed before this artifact.
metadata
Optional
- Type: java.util.Map
> - Default: no metadata.
Associated metadata.
properties
Optional
- Type: com.aliyun.ros.cdk.assembly.schema.AliyunRosStackProperties OR com.aliyun.ros.cdk.assembly.schema.TreeArtifactProperties OR com.aliyun.ros.cdk.assembly.schema.NestedCloudAssemblyProperties
- Default: no properties.
The set of properties for this artifact (depends on type).
Methods
Name | Description |
---|---|
findMetadataByType |
No description. |
findMetadataByType
public java.util.List<MetadataEntryResult> findMetadataByType(java.lang.String type)
- Type: java.lang.String
Static Functions
Name | Description |
---|---|
fromManifest |
Returns a subclass of CloudArtifact based on the artifact type defined in the artifact manifest. |
fromManifest
import com.aliyun.ros.cdk.cxapi.NestedCloudAssemblyArtifact;
NestedCloudAssemblyArtifact.fromManifest(CloudAssembly assembly, java.lang.String id, ArtifactManifest artifact)
Returns a subclass of CloudArtifact
based on the artifact type defined in the artifact manifest.
- Type: CloudAssembly
The cloud assembly from which to load the artifact.
- Type: java.lang.String
The artifact ID.
- Type: com.aliyun.ros.cdk.assembly.schema.ArtifactManifest
The artifact manifest.
Properties
Name | Type | Description |
---|---|---|
assembly |
CloudAssembly |
No description. |
id |
java.lang.String |
No description. |
manifest |
com.aliyun.ros.cdk.assembly.schema.ArtifactManifest |
The artifact's manifest. |
messages |
java.util.List<SynthesisMessage> |
The set of messages extracted from the artifact's metadata. |
dependencies |
java.util.List<CloudArtifact> |
Returns all the artifacts that this artifact depends on. |
directoryName |
java.lang.String |
The relative directory name of the asset manifest. |
displayName |
java.lang.String |
Display name. |
fullPath |
java.lang.String |
Full path to the nested assembly directory. |
nestedAssembly |
CloudAssembly |
The nested Assembly. |
assembly
Required
public CloudAssembly getAssembly();
- Type: CloudAssembly
id
Required
public java.lang.String getId();
- Type: java.lang.String
manifest
Required
public ArtifactManifest getManifest();
- Type: com.aliyun.ros.cdk.assembly.schema.ArtifactManifest
The artifact's manifest.
messages
Required
public java.util.List<SynthesisMessage> getMessages();
- Type: java.util.List<SynthesisMessage>
The set of messages extracted from the artifact's metadata.
dependencies
Optional
public java.util.List<CloudArtifact> getDependencies();
- Type: java.util.List<CloudArtifact>
Returns all the artifacts that this artifact depends on.
directoryName
Required
public java.lang.String getDirectoryName();
- Type: java.lang.String
The relative directory name of the asset manifest.
displayName
Required
public java.lang.String getDisplayName();
- Type: java.lang.String
Display name.
fullPath
Required
public java.lang.String getFullPath();
- Type: java.lang.String
Full path to the nested assembly directory.
nestedAssembly
Required
public CloudAssembly getNestedAssembly();
- Type: CloudAssembly
The nested Assembly.