Class ArgumentUtil

java.lang.Object
io.camunda.client.impl.command.ArgumentUtil

public final class ArgumentUtil extends Object
  • Constructor Details

    • ArgumentUtil

      public ArgumentUtil()
  • Method Details

    • ensureNotNull

      public static void ensureNotNull(String property, Object value)
    • ensureNotEmpty

      public static void ensureNotEmpty(String property, String value)
    • ensureNotNullNorEmpty

      public static void ensureNotNullNorEmpty(String property, String value)
    • ensureGreaterThan

      public static void ensureGreaterThan(String property, long testValue, long comparisonValue)
    • ensureNotNegative

      public static void ensureNotNegative(String property, long testValue)
    • ensureNotNegative

      public static void ensureNotNegative(String property, Duration testValue)
    • ensureNotZero

      public static void ensureNotZero(String property, Duration testValue)
    • ensurePositive

      public static void ensurePositive(String property, Duration testValue)
    • ensureNotBefore

      public static void ensureNotBefore(String property, Instant testValue, Instant otherInstant)
    • ensureNotEmpty

      public static void ensureNotEmpty(String property, List<?> value)
    • ensureNotNullOrEmpty

      public static void ensureNotNullOrEmpty(String property, List<?> value)