public static enum AssignmentTestable.TestResult extends java.lang.Enum<AssignmentTestable.TestResult>
Enum Constant and Description |
---|
EXACT_MATCH |
NOT_ASSIGNABLE |
WEAKLY_ASSIGNABLE |
Modifier and Type | Method and Description |
---|---|
boolean |
isAssignable() |
boolean |
isExactMatch() |
static AssignmentTestable.TestResult |
testAll(java.lang.String keyspace,
ColumnSpecification receiver,
java.util.Collection<? extends AssignmentTestable> toTest) |
static AssignmentTestable.TestResult |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AssignmentTestable.TestResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AssignmentTestable.TestResult EXACT_MATCH
public static final AssignmentTestable.TestResult WEAKLY_ASSIGNABLE
public static final AssignmentTestable.TestResult NOT_ASSIGNABLE
public static AssignmentTestable.TestResult[] values()
for (AssignmentTestable.TestResult c : AssignmentTestable.TestResult.values()) System.out.println(c);
public static AssignmentTestable.TestResult valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic boolean isAssignable()
public boolean isExactMatch()
public static AssignmentTestable.TestResult testAll(java.lang.String keyspace, ColumnSpecification receiver, java.util.Collection<? extends AssignmentTestable> toTest)
Copyright © 2017 The Apache Software Foundation