org.eclipse.stardust.engine.api.runtime
Class RuntimeArtifact

java.lang.Object
  extended by org.eclipse.stardust.engine.api.runtime.RuntimeArtifactInfo
      extended by 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

Constructor Summary
RuntimeArtifact()
           
RuntimeArtifact(String artifactTypeId, String artifactId, String artifactName, byte[] content, Date validFrom)
           
 
Method Summary
 byte[] getContent()
           
 void setContent(byte[] content)
           
 
Methods inherited from class org.eclipse.stardust.engine.api.runtime.RuntimeArtifactInfo
getArtifactId, getArtifactName, getArtifactTypeId, getValidFrom
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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.
Method Detail

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.