public class IntegrityState extends Object
Constructor and Description |
---|
IntegrityState() |
Modifier and Type | Method and Description |
---|---|
IntegrityState |
check(String _check,
boolean f) |
protected IntegrityState |
check(String _check,
String _note,
boolean f) |
IntegrityState |
checkEquals(String _check,
int v1,
int v2) |
IntegrityState |
checkEquals(String _check,
long v1,
long v2) |
IntegrityState |
checkGreater(String _check,
int v1,
int v2) |
IntegrityState |
checkGreaterOrEquals(String _check,
int v1,
int v2) |
IntegrityState |
checkLess(String _check,
int v1,
int v2) |
IntegrityState |
checkLessOrEquals(String _check,
int v1,
int v2) |
String |
getFailingChecks() |
String |
getStateDescriptor() |
long |
getStateFlags() |
IntegrityState |
group(String _group) |
void |
throwIfNeeded() |
protected IntegrityState check(String _check, String _note, boolean f)
_check
- Name of the test. Used when we build an exception.f
- test outcome, true when successpublic IntegrityState group(String _group)
public IntegrityState check(String _check, boolean f)
public IntegrityState checkEquals(String _check, int v1, int v2)
public IntegrityState checkEquals(String _check, long v1, long v2)
public IntegrityState checkLessOrEquals(String _check, int v1, int v2)
public IntegrityState checkLess(String _check, int v1, int v2)
public IntegrityState checkGreaterOrEquals(String _check, int v1, int v2)
public IntegrityState checkGreater(String _check, int v1, int v2)
public String getStateDescriptor()
public long getStateFlags()
public String getFailingChecks()
public void throwIfNeeded()
cache2k API documentation. Copyright © 2000–2018 headissue GmbH, Munich.