org.eclipse.stardust.engine.api.runtime
Interface DeployedModelDescription

All Superinterfaces:
ModelElement, Serializable
All Known Subinterfaces:
DeployedModel

public interface DeployedModelDescription
extends ModelElement

The DeployedModelDescription class provides deployment information for a workflow model.

Version:
$Revision$
Author:
ubirkemeyer

Method Summary
 List<Long> getConsumerModels()
          Gets the Model OIDs of all linked Consumers (Models which are using the deployed model)
 String getDeploymentComment()
          Gets the comment of the last deployment.
 Date getDeploymentTime()
          Gets the time when this model was deployed.
 Map<String,List<ImplementationDescription>> getImplementationProcesses()
          Gets a map which, per Process Interface ID, describes all available Implementation Alternatives and indicates which one is the Primary Implementation.
 List<Long> getProviderModels()
          Gets the Model OIDs of all linked Providers (Models which are used by the deployed model)
 int getRevision()
          Gets the revision of the model.
 Date getValidFrom()
          Gets the validity start time for this model.
 String getVersion()
          Gets the version of the model.
 boolean isActive()
          Gets whether the model is the active model.
 
Methods inherited from interface org.eclipse.stardust.engine.api.model.ModelElement
getAllAttributes, getAttribute, getDescription, getElementOID, getId, getModelOID, getName, getNamespace, getPartitionId, getPartitionOID, getQualifiedId
 

Method Detail

isActive

boolean isActive()
Gets whether the model is the active model. The model is active if it is not disabled, the current time is between the validity start time and validity end time, and there is no predecessor satisfying these constraints.

Returns:
true if this model is the currently active one.

getValidFrom

Date getValidFrom()
Gets the validity start time for this model.

Returns:
the validity start time or null if unlimited.

getDeploymentTime

Date getDeploymentTime()
Gets the time when this model was deployed.

Returns:
the deployment time.

getDeploymentComment

String getDeploymentComment()
Gets the comment of the last deployment.

Returns:
the deployment coment.

getVersion

String getVersion()
Gets the version of the model.

Returns:
the model version.

getRevision

int getRevision()
Gets the revision of the model.

Returns:
a number specifying how many times the model was overwritten.

getProviderModels

List<Long> getProviderModels()
Gets the Model OIDs of all linked Providers (Models which are used by the deployed model)

Returns:
a list which contains the OIDs of the models which are used by the deployed model.

getConsumerModels

List<Long> getConsumerModels()
Gets the Model OIDs of all linked Consumers (Models which are using the deployed model)

Returns:
a list which contains the OIDs of the models which are using the deployed model.

getImplementationProcesses

Map<String,List<ImplementationDescription>> getImplementationProcesses()
Gets a map which, per Process Interface ID, describes all available Implementation Alternatives and indicates which one is the Primary Implementation.

Returns:
a map which contains per process interface id corresponding implementations.


Copyright © 2017 Eclipse Stardust. All Rights Reserved.