org.eclipse.stardust.engine.api.runtime
Class RuntimeArtifact
java.lang.Object
org.eclipse.stardust.engine.api.runtime.RuntimeArtifactInfo
org.eclipse.stardust.engine.api.runtime.RuntimeArtifact
- All Implemented Interfaces:
- Serializable
public class RuntimeArtifact
- extends RuntimeArtifactInfo
An artifact which can be deployed and is valid from a specified date at runtime.
Each runtime artifact consists of:
artifactTypeId - Identifies the ArtifactType.
artifactId - Identifies the runtime artifact.
artifactName - A human readable name or description.
validFrom - Specifies the point in time the artifact should start to be valid and therefore become active.
content - The binary content of the runtime artifact.
To find out which runtime artifact is active at a certain date the
DeployedRuntimeArtifactQuery can be used on the QueryService.
- Author:
- Roland.Stamm
- See Also:
- Serialized Form
RuntimeArtifact
public RuntimeArtifact()
RuntimeArtifact
public RuntimeArtifact(String artifactTypeId,
String artifactId,
String artifactName,
byte[] content,
Date validFrom)
- Parameters:
artifactTypeId - Identifies the ArtifactType.artifactId - Identifies the runtime artifact.artifactName - A human readable name or description.validFrom - Specifies the point in time the artifact should start to be valid and therefore become active.content - The binary content of the runtime artifact.
getContent
public byte[] getContent()
- Returns:
- the content of the artifact.
setContent
public void setContent(byte[] content)
- Parameters:
content - the content of the artifact.
Copyright © 2017 Eclipse Stardust. All Rights Reserved.