Package | Description |
---|---|
com.authlete.common.dto |
Requests to and responses from Authlete APIs and some data structures.
|
com.authlete.common.types |
Enum definitions and lists of pre-defined constants.
|
Modifier and Type | Method and Description |
---|---|
ServiceProfile[] |
Service.getSupportedServiceProfiles()
Get the supported service profiles.
|
Modifier and Type | Method and Description |
---|---|
Service |
Service.setSupportedServiceProfiles(ServiceProfile[] profiles)
Set the supported service profiles.
|
boolean |
Service.supports(ServiceProfile profile)
Check if this service supports the specified profile.
|
boolean |
Service.supportsAll(ServiceProfile... profiles)
Check if this service supports all the specified service profiles.
|
boolean |
Service.supportsAny(ServiceProfile... profiles)
Check if this service any of the specified service profiles.
|
Modifier and Type | Method and Description |
---|---|
Service |
Service.setSupportedServiceProfiles(Iterable<ServiceProfile> profiles)
Set the supported service profiles.
|
boolean |
Service.supportsAll(Iterable<ServiceProfile> profiles)
Check if this service supports all the specified service profiles.
|
boolean |
Service.supportsAny(Iterable<ServiceProfile> profiles)
Check if this service any of the specified service profiles.
|
Modifier and Type | Method and Description |
---|---|
static ServiceProfile |
ServiceProfile.getByValue(short value)
Find an instance of this enum by a value.
|
static ServiceProfile |
ServiceProfile.parse(String serviceProfile)
Convert
String to ServiceProfile . |
static ServiceProfile[] |
ServiceProfile.toArray(int bits) |
static ServiceProfile |
ServiceProfile.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServiceProfile[] |
ServiceProfile.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static EnumSet<ServiceProfile> |
ServiceProfile.toSet(int bits) |
static EnumSet<ServiceProfile> |
ServiceProfile.toSet(ServiceProfile[] array) |
Modifier and Type | Method and Description |
---|---|
static EnumSet<ServiceProfile> |
ServiceProfile.toSet(ServiceProfile[] array) |
Modifier and Type | Method and Description |
---|---|
static int |
ServiceProfile.toBits(EnumSet<ServiceProfile> set) |
Copyright © 2022. All rights reserved.