|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
org.identityconnectors.framework.common.FrameworkUtil
public final class FrameworkUtil
Method Summary | |
---|---|
static java.util.Set<java.lang.Class<? extends APIOperation>> |
allAPIOperations() Return all the known APIOperation s. |
static java.util.Set<java.lang.Class<? extends SPIOperation>> |
allSPIOperations() Return all the known SPIOperation s. |
static void |
checkAttributeType(java.lang.Class<?> clazz) Determines if the class is a supported attribute type. |
static void |
checkAttributeValue(java.lang.Object value) Determines if the class of the object is a supported attribute type. |
static void |
checkOperationOptionType(java.lang.Class<?> clazz) Determines if the class is a supported type for an OperationOption. |
static void |
checkOperationOptionValue(java.lang.Object value) Determines if the class of the object is a supported attribute type. |
static java.util.Set<java.lang.Class<? extends java.lang.Object>> |
getAllSupportedAttributeTypes() |
static java.util.Set<java.lang.Class<? extends java.lang.Object>> |
getAllSupportedConfigTypes() |
static java.util.Set<java.lang.Class<? extends APIOperation>> |
getDefaultSupportedOperations(java.lang.Class<? extends Connector> connector) Determines the default set of operations that a Connector supports. |
static Version |
getFrameworkVersion() Returns the version of the framework. |
static java.util.Set<java.lang.Class<? extends APIOperation>> |
getUnconditionallySupportedOperations() Returns the set of operations that are always supported |
static boolean |
isSupportedAttributeType(java.lang.Class<?> clazz) Determines if the class is a supported attribute type. |
static boolean |
isSupportedConfigurationType(java.lang.Class<?> clazz) Determines if the class is a supported configuration type. |
static java.util.Set<java.lang.Class<? extends APIOperation>> |
spi2apis(java.lang.Class<? extends SPIOperation> spi) Converts a SPIOperation to an set of APIOperation . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.util.Set<java.lang.Class<? extends APIOperation>> spi2apis(java.lang.Class<? extends SPIOperation> spi)
SPIOperation
to an set of APIOperation
.public static java.util.Set<java.lang.Class<? extends SPIOperation>> allSPIOperations()
SPIOperation
s.public static java.util.Set<java.lang.Class<? extends APIOperation>> allAPIOperations()
APIOperation
s.public static java.util.Set<java.lang.Class<? extends APIOperation>> getDefaultSupportedOperations(java.lang.Class<? extends Connector> connector)
Connector
supports.public static java.util.Set<java.lang.Class<? extends APIOperation>> getUnconditionallySupportedOperations()
public static java.util.Set<java.lang.Class<? extends java.lang.Object>> getAllSupportedConfigTypes()
public static boolean isSupportedConfigurationType(java.lang.Class<?> clazz)
clazz
- the type to check against the list of supported types.public static java.util.Set<java.lang.Class<? extends java.lang.Object>> getAllSupportedAttributeTypes()
public static boolean isSupportedAttributeType(java.lang.Class<?> clazz)
clazz
- the type to check against a supported list of types.public static void checkAttributeType(java.lang.Class<?> clazz)
IllegalArgumentException
.
clazz
- type to check against the support list of types.java.lang.IllegalArgumentException
- iff the type is not on the supported list.public static void checkAttributeValue(java.lang.Object value)
IllegalArgumentException
.value
- The value to check or null.public static void checkOperationOptionType(java.lang.Class<?> clazz)
IllegalArgumentException
.clazz
- type to check against the support list of types.java.lang.IllegalArgumentException
- iff the type is not on the supported list.public static void checkOperationOptionValue(java.lang.Object value)
IllegalArgumentException
.value
- The value to check or null.public static Version getFrameworkVersion()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |