Class LoadOnDemandPolicyRegistryImpl

java.lang.Object
org.eclipse.emf.compare.rcp.internal.policy.LoadOnDemandPolicyRegistryImpl
All Implemented Interfaces:
ILoadOnDemandPolicy.Registry

public class LoadOnDemandPolicyRegistryImpl
extends java.lang.Object
implements ILoadOnDemandPolicy.Registry
A default implementation that uses a map internally.
  • Constructor Summary

    Constructors 
    Constructor Description
    LoadOnDemandPolicyRegistryImpl()
    Creates a new implementation.
  • Method Summary

    Modifier and Type Method Description
    ILoadOnDemandPolicy addPolicy​(ILoadOnDemandPolicy policy)
    Add the given policy to this registry.
    void clear()
    Removes all of the registered policies.
    java.util.List<ILoadOnDemandPolicy> getPolicies()
    Returns the list of registered policies.
    boolean hasAnyAuthorizingPolicy​(URI uri)
    Returns true if at least one of the contained policy is authorizing the given policy to be loaded on demand.
    ILoadOnDemandPolicy removePolicy​(java.lang.String className)
    Removes the policy registered within this registry with the given class name.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait