Class FrameworkUtil
java.lang.Object
org.identityconnectors.framework.common.FrameworkUtil
- 
Method SummaryModifier and TypeMethodDescriptionstatic Set<Class<? extends APIOperation>> Return all the knownAPIOperations.static Set<Class<? extends SPIOperation>> Return all the knownSPIOperations.static voidcheckAttributeType(Class<?> clazz) Determines if the class is a supported attribute type.static voidcheckAttributeValue(Object value) Determines if the class of the object is a supported attribute type.static voidcheckAttributeValue(String name, Object value) Determines if the class of the object is a supported attribute type.static voidcheckOperationOptionType(Class<?> clazz) Determines if the class is a supported type for an OperationOption.static voidcheckOperationOptionValue(Object value) Determines if the class of the object is a supported attribute type.static Set<Class<? extends APIOperation>> getDefaultSupportedOperations(Class<? extends Connector> connector) Determines the default set of operations that aConnectorsupports.static VersionReturns the version of the framework.static Set<Class<? extends APIOperation>> Returns the set of operations that are always supported.static booleanisSupportedAttributeType(Class<?> clazz) Determines if the class is a supported attribute type.static booleanisSupportedConfigurationType(Class<?> clazz) Determines if the class is a supported configuration type.static Set<Class<? extends APIOperation>> spi2apis(Class<? extends SPIOperation> spi) Converts aSPIOperationto an set ofAPIOperation.
- 
Method Details- 
spi2apisConverts aSPIOperationto an set ofAPIOperation.
- 
allSPIOperationsReturn all the knownSPIOperations.
- 
allAPIOperationsReturn all the knownAPIOperations.
- 
getDefaultSupportedOperationspublic static Set<Class<? extends APIOperation>> getDefaultSupportedOperations(Class<? extends Connector> connector) Determines the default set of operations that aConnectorsupports.
- 
getUnconditionallySupportedOperationsReturns the set of operations that are always supported.- Returns:
- the set of operations that are always supported
 
- 
getAllSupportedConfigTypes
- 
isSupportedConfigurationTypeDetermines if the class is a supported configuration type.- Parameters:
- clazz- the type to check against the list of supported types.
- Returns:
- true if the type is in the list otherwise false.
 
- 
getAllSupportedAttributeTypes
- 
isSupportedAttributeTypeDetermines if the class is a supported attribute type.- Parameters:
- clazz- the type to check against a supported list of types.
- Returns:
- true if the type is on the supported list otherwise false.
 
- 
checkAttributeTypeDetermines if the class is a supported attribute type. If not it throws anIllegalArgumentException.- String.class
- long.class
- Long.class
- char.class
- Character.class
- double.class
- Double.class
- float.class
- Float.class
- int.class
- Integer.class
- boolean.class
- Boolean.class
- byte.class
- Byte.class
- byte[].class
- BigDecimal.class
- BigInteger.class
- Map.class
- ZonedDateTime.class
 - Parameters:
- clazz- type to check against the support list of types.
- Throws:
- IllegalArgumentException- if the type is not on the supported list.
 
- 
checkAttributeValueDetermines if the class of the object is a supported attribute type. If not it throws anIllegalArgumentException.- Parameters:
- value- The value to check or null.
- Throws:
- IllegalArgumentException- If the class of the object is a supported attribute type.
 
- 
checkAttributeValueDetermines if the class of the object is a supported attribute type. If not it throws anIllegalArgumentException.- Parameters:
- name- The name of the attribute to check
- value- The value to check or null.
- Throws:
- IllegalArgumentException- If the class of the object is a supported attribute type.
 
- 
checkOperationOptionTypeDetermines if the class is a supported type for an OperationOption. If not it throws anIllegalArgumentException.- Parameters:
- clazz- type to check against the support list of types.
- Throws:
- IllegalArgumentException- if the type is not on the supported list.
 
- 
checkOperationOptionValueDetermines if the class of the object is a supported attribute type. If not it throws anIllegalArgumentException.- Parameters:
- value- The value to check or null.
- Throws:
- IllegalArgumentException- if the class of the object is a supported attribute type
 
- 
getFrameworkVersionReturns the version of the framework.- Returns:
- the framework version; never null.
 
 
-