public class MatchResult
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static MatchResult |
MATCH |
static MatchResult |
NO_MATCH |
| Constructor and Description |
|---|
MatchResult(boolean assignable) |
MatchResult(java.lang.String error) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getError()
Returns the error or null if the contracts match
|
boolean |
isAssignable()
True if the contracts are compatible.
|
public static final MatchResult MATCH
public static final MatchResult NO_MATCH