|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.stardust.engine.api.model.Inconsistency
public class Inconsistency
The Inconsistency class provides information about a model inconsistency.
Inconsistencies are of two types: errors and warnings. When an error inconsistency is
issued, the model is unable to work (models with errors cannot be deployed). A warning
inconsistency implies that the specific workflow operation may fail.
| Field Summary | |
|---|---|
static int |
ERROR
Specifies an error inconsistency. |
static int |
WARNING
Specifies a warning inconsistency. |
| Constructor Summary | |
|---|---|
Inconsistency(org.eclipse.stardust.common.error.ErrorCase error,
int severity)
|
|
Inconsistency(org.eclipse.stardust.common.error.ErrorCase error,
org.eclipse.stardust.engine.core.model.utils.ModelElement sourceElement,
int severity)
|
|
Inconsistency(org.eclipse.stardust.common.error.ErrorCase error,
String message,
org.eclipse.stardust.engine.core.model.utils.ModelElement sourceElement,
int severity)
|
|
Inconsistency(int severity,
org.eclipse.stardust.engine.core.model.utils.ModelElement sourceElement,
String pattern,
Object... arguments)
|
|
Inconsistency(String message,
int severity)
Deprecated. |
|
Inconsistency(String message,
int sourceElementOID,
int severity)
Deprecated. |
|
Inconsistency(String message,
org.eclipse.stardust.engine.core.model.utils.ModelElement sourceElement,
int severity)
Constructs an Inconsistency for a specific model element. |
|
| Method Summary | |
|---|---|
org.eclipse.stardust.common.error.ErrorCase |
getError()
|
String |
getErrorID()
Gets the errorID contained in the inconsistency. |
String |
getMessage()
Gets the message contained in the inconsistency. |
int |
getSeverity()
Gets the severity of the inconsistency. |
String |
getSourceElementId()
Returns the ID of the inconsistent model element (activity, role etc.). |
String |
getSourceElementName()
Returns the Name of the inconsistent model element (activity, role etc.). |
int |
getSourceElementOID()
Returns the element OID of the inconsistent model element (activity, role etc.). |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int WARNING
public static final int ERROR
| Constructor Detail |
|---|
public Inconsistency(String message,
int severity)
message - inconsistency message.severity - the severity: WARNING or ERROR.
public Inconsistency(String message,
int sourceElementOID,
int severity)
message - inconsistency message.sourceElementOID - the OID of the inconsistent model element.severity - the severity: WARNING or ERROR.
public Inconsistency(String message,
org.eclipse.stardust.engine.core.model.utils.ModelElement sourceElement,
int severity)
message - inconsistency message.sourceElement - the inconsistent model element.severity - the severity: WARNING or ERROR.
public Inconsistency(org.eclipse.stardust.common.error.ErrorCase error,
String message,
org.eclipse.stardust.engine.core.model.utils.ModelElement sourceElement,
int severity)
public Inconsistency(org.eclipse.stardust.common.error.ErrorCase error,
org.eclipse.stardust.engine.core.model.utils.ModelElement sourceElement,
int severity)
public Inconsistency(org.eclipse.stardust.common.error.ErrorCase error,
int severity)
public Inconsistency(int severity,
org.eclipse.stardust.engine.core.model.utils.ModelElement sourceElement,
String pattern,
Object... arguments)
| Method Detail |
|---|
public int getSourceElementOID()
public String getSourceElementId()
public String getSourceElementName()
public int getSeverity()
public String getMessage()
public String getErrorID()
public org.eclipse.stardust.common.error.ErrorCase getError()
public String toString()
toString in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||