public class EnsureUtil extends Object
| Constructor and Description |
|---|
EnsureUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
ensureArrayBacked(org.agrona.DirectBuffer... buffers) |
static void |
ensureArrayBacked(org.agrona.DirectBuffer buffer) |
static void |
ensureAtLeastOneNotNull(String property,
Object... values) |
static void |
ensureFalse(String property,
boolean value) |
static void |
ensureGreaterThan(String property,
double testValue,
double comparisonValue) |
static void |
ensureGreaterThan(String property,
long testValue,
long comparisonValue) |
static void |
ensureGreaterThanOrEqual(String property,
double testValue,
double comparisonValue) |
static void |
ensureGreaterThanOrEqual(String property,
long testValue,
long comparisonValue) |
static void |
ensureLessThan(String property,
double testValue,
double comparisonValue) |
static void |
ensureLessThan(String property,
long testValue,
long comparisonValue) |
static void |
ensureLessThanOrEqual(String property,
double testValue,
double comparisonValue) |
static void |
ensureLessThanOrEqual(String property,
long testValue,
long comparisonValue) |
static void |
ensureNotEmpty(String property,
String value) |
static void |
ensureNotNull(String property,
Object o) |
static void |
ensureNotNullOrEmpty(String property,
byte[] testValue) |
static void |
ensureNotNullOrEmpty(String property,
org.agrona.DirectBuffer testValue) |
static void |
ensureNotNullOrEmpty(String property,
String testValue) |
static void |
ensureNotNullOrGreaterThan(String property,
java.time.Duration testValue,
java.time.Duration comparisonValue) |
static void |
ensureNotNullOrGreaterThanOrEqual(String property,
java.time.Duration testValue,
java.time.Duration comparisonValue) |
public static void ensureGreaterThan(String property, long testValue, long comparisonValue)
public static void ensureGreaterThanOrEqual(String property, long testValue, long comparisonValue)
public static void ensureLessThan(String property, long testValue, long comparisonValue)
public static void ensureLessThanOrEqual(String property, long testValue, long comparisonValue)
public static void ensureGreaterThan(String property, double testValue, double comparisonValue)
public static void ensureGreaterThanOrEqual(String property, double testValue, double comparisonValue)
public static void ensureLessThan(String property, double testValue, double comparisonValue)
public static void ensureLessThanOrEqual(String property, double testValue, double comparisonValue)
public static void ensureNotNullOrGreaterThan(String property, java.time.Duration testValue, java.time.Duration comparisonValue)
public static void ensureNotNullOrGreaterThanOrEqual(String property, java.time.Duration testValue, java.time.Duration comparisonValue)
public static void ensureNotNullOrEmpty(String property, byte[] testValue)
public static void ensureNotNullOrEmpty(String property, org.agrona.DirectBuffer testValue)
public static void ensureAtLeastOneNotNull(String property, Object... values)
public static void ensureFalse(String property, boolean value)
public static void ensureArrayBacked(org.agrona.DirectBuffer buffer)
public static void ensureArrayBacked(org.agrona.DirectBuffer... buffers)
Copyright © 2017–2019 camunda services GmbH. All rights reserved.