public final class Preconditions extends Object
Constructor and Description |
---|
Preconditions() |
Modifier and Type | Method and Description |
---|---|
static void |
checkCores(Integer cores) |
static void |
checkIcmp(Integer icmpType,
Integer icmpCode,
Firewall.Protocol protocol) |
static void |
checkInvalidChars(String name) |
static void |
checkIp(String ip) |
static void |
checkIps(List<String> ips) |
static void |
checkLanId(Integer id) |
static void |
checkMacAddress(String macAddress) |
static void |
checkPassword(String password) |
static void |
checkPortRange(Integer portRangeStart,
Integer portRangeEnd,
Firewall.Protocol protocol) |
static void |
checkRam(Integer ram,
Boolean isRamHotPlug) |
static void |
checkSize(Float size) |
public static void checkInvalidChars(String name)
public static void checkIp(String ip)
public static void checkPortRange(Integer portRangeStart, Integer portRangeEnd, Firewall.Protocol protocol)
public static void checkMacAddress(String macAddress)
public static void checkIcmp(Integer icmpType, Integer icmpCode, Firewall.Protocol protocol)
public static void checkLanId(Integer id)
public static void checkCores(Integer cores)
public static void checkSize(Float size)
public static void checkPassword(String password)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.