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