Interface ListOption
-
- All Known Implementing Classes:
ListAccountsOption
,ListChangesOption
,ListGroupsOption
public interface ListOption
Enum that can be expressed as a bitset in query parameters.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static <T extends Enum<T> & ListOption>
EnumSet<T>fromBits(Class<T> clazz, int v)
static <T extends Enum<T> & ListOption>
EnumSet<T>fromHexString(Class<T> clazz, String hex)
int
getValue()
static <T extends Enum<T> & ListOption>
StringtoHex(Set<T> options)
-
-
-
Method Detail
-
getValue
int getValue()
-
fromHexString
static <T extends Enum<T> & ListOption> EnumSet<T> fromHexString(Class<T> clazz, String hex) throws BadRequestException
- Throws:
BadRequestException
-
fromBits
static <T extends Enum<T> & ListOption> EnumSet<T> fromBits(Class<T> clazz, int v)
-
toHex
static <T extends Enum<T> & ListOption> String toHex(Set<T> options)
-
-