Class Preconditions


  • public final class Preconditions
    extends Object
    Static convenience methods for validating various ProfitBricks domain preconditions
    • Constructor Detail

      • Preconditions

        public Preconditions()
    • Method Detail

      • checkInvalidChars

        public static void checkInvalidChars​(String name)
      • checkIp

        public static void checkIp​(String ip)
      • checkIps

        public static void checkIps​(List<String> ips)
      • checkMacAddress

        public static void checkMacAddress​(String macAddress)
      • checkLanId

        public static void checkLanId​(Integer id)
      • checkCores

        public static void checkCores​(Integer cores)
      • checkRam

        public static void checkRam​(Integer ram,
                                    Boolean isRamHotPlug)
      • checkSize

        public static void checkSize​(Float size)
      • checkPassword

        public static void checkPassword​(String password)