Tool class for validating parameters for making remote requests. Every method throws an IllegalArgumentException if the given argument is not valid. This class is for internal usage.
More...
|
static void | oid (String id) |
|
static void | oids (String[] ids) |
|
static void | plugIds (String[] idPlugs) |
|
static void | devIds (String[] idPlugs) |
|
static void | devId (String idPlug) |
|
static void | devIdCsv (String idPlugCsv) |
|
static void | modelId (String idPlug) |
|
static void | plugId (String idPlug) |
|
static void | plugIdCsv (String idPlugCsv) |
|
static void | channelMask (String channel) |
|
static void | channelName (String channel) |
|
static void | hwid (String hwid, String name) |
|
static void | hwid (String hwid) |
|
static void | pass (String pass) |
|
static void | body (String body) |
|
static void | json (String json, String msg, boolean allowNull) |
|
static void | prop (String prop) |
|
static void | name (String name) |
|
static void | status (String status) |
|
static void | perm (JSONObject perm) |
|
static void | str (String str, int minLength, String name) |
|
static void | pos (int num, String name) |
|
Tool class for validating parameters for making remote requests. Every method throws an IllegalArgumentException if the given argument is not valid. This class is for internal usage.