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

All Superinterfaces:
ReconfigurationInfo, Serializable
All Known Subinterfaces:
DeploymentInfo

public interface ModelReconfigurationInfo
extends ReconfigurationInfo

The ModelReconfigurationInfo class is used to receive information about a model reconfiguration operation. Model reconfiguration operations are all operations which modifies the models in audit trail, their attributes or behavior, e.g. model deployment, configuration variable modification.

Version:
$Revision: 43208 $
Author:
stephan.born

Method Summary
 List<Inconsistency> getErrors()
          Gets the list of errors issued during the model reconfiguration operation.
 String getId()
          Returns the id of the reconfigured model.
 int getModelOID()
          Returns the OID of the reconfigured model.
 List<Inconsistency> getWarnings()
          Gets the list of warnings issued during the model reconfiguration operation.
 boolean hasErrors()
          Checks if there were errors issued during model reconfiguration.
 boolean hasWarnings()
          Checks if there were warnings issued during model reconfiguration.
 boolean isValid()
          Check if the model reconfiguration operation is valid.
 
Methods inherited from interface org.eclipse.stardust.engine.api.runtime.ReconfigurationInfo
success
 

Method Detail

getId

String getId()
Returns the id of the reconfigured model.

Returns:
the model ID.

getModelOID

int getModelOID()
Returns the OID of the reconfigured model. If the model is for the first time deployed, a new OID will be generated for the model.

Returns:
the model OID.

getWarnings

List<Inconsistency> getWarnings()
Gets the list of warnings issued during the model reconfiguration operation.

Returns:
a List of Inconsistency objects.

getErrors

List<Inconsistency> getErrors()
Gets the list of errors issued during the model reconfiguration operation.

Returns:
a List of Inconsistency objects.

isValid

boolean isValid()
Check if the model reconfiguration operation is valid.

Returns:
true if there were no errors and no warnings during model reconfiguration.

hasErrors

boolean hasErrors()
Checks if there were errors issued during model reconfiguration.

Returns:
true if there are errors.

hasWarnings

boolean hasWarnings()
Checks if there were warnings issued during model reconfiguration.

Returns:
true if there are warnings.


Copyright © 2017 Eclipse Stardust. All Rights Reserved.