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)
- The usage of "resolver" is experimental. Let's see if it will be
practical ...
- See Also:
ObjectResolver
getResourceXsdSchema
public static org.w3c.dom.Element getResourceXsdSchema(ResourceType resource)
getResourceSchema
public static Schema getResourceSchema(ResourceType resource)
throws SchemaException
- Throws:
SchemaException
compareConfiguration
public static boolean compareConfiguration(Configuration a,
Configuration 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)
Copyright © 2011 evolveum. All Rights Reserved.