com.evolveum.midpoint.schema.util
Class ResourceTypeUtil
java.lang.Object
com.evolveum.midpoint.schema.util.ResourceTypeUtil
public class ResourceTypeUtil
- extends java.lang.Object
Methods that would belong to the ResourceType class but cannot go there
because of JAXB.
- Author:
- Radovan Semancik
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResourceTypeUtil
public ResourceTypeUtil()
getConnectorOid
public static java.lang.String getConnectorOid(ResourceType resource)
getConnectorType
public static ConnectorType getConnectorType(ResourceType resource,
ObjectResolver resolver,
OperationResult parentResult)
throws ObjectNotFoundException,
SchemaException
- The usage of "resolver" is experimental. Let's see if it will be
practical ...
- Throws:
ObjectNotFoundException
SchemaException
- See Also:
ObjectResolver
getResourceXsdSchema
public static org.w3c.dom.Element getResourceXsdSchema(ResourceType resource)
compareConfiguration
public static boolean compareConfiguration(ResourceConfigurationType a,
ResourceConfigurationType b)
getCapability
public static <T> T getCapability(java.util.Collection<java.lang.Object> capabilities,
java.lang.Class<T> capabilityClass)
getEffectiveCapability
public static <T> T getEffectiveCapability(ResourceType resource,
java.lang.Class<T> capabilityClass)
listEffectiveCapabilities
public static java.util.List<java.lang.Object> listEffectiveCapabilities(ResourceType resource)
getCapabilityDisplayName
public static java.lang.String getCapabilityDisplayName(java.lang.Object capability)
getEffectiveCapabilities
public static CapabilitiesType getEffectiveCapabilities(ResourceType resource)
hasActivationCapability
public static boolean hasActivationCapability(ResourceType resource)
hasCredentialsCapability
public static boolean hasCredentialsCapability(ResourceType resource)
hasResourceNativeActivationCapability
public static boolean hasResourceNativeActivationCapability(ResourceType resource)
getResourceAccountTypeDefinitionType
public static ResourceAccountTypeDefinitionType getResourceAccountTypeDefinitionType(ResourceType resource,
java.lang.String accountType)
Copyright © 2012 evolveum. All Rights Reserved.