public class LoadOnDemandPolicyRegistryImpl extends Object implements ILoadOnDemandPolicy.Registry
| Constructor and Description | 
|---|
| LoadOnDemandPolicyRegistryImpl()Creates a new implementation. | 
| Modifier and Type | Method and Description | 
|---|---|
| ILoadOnDemandPolicy | addPolicy(ILoadOnDemandPolicy policy)Add the given  policyto this registry. | 
| void | clear()Removes all of the registered policies. | 
| 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(String className)Removes the policy registered within this registry with the given class name. | 
public LoadOnDemandPolicyRegistryImpl()
public boolean hasAnyAuthorizingPolicy(URI uri)
hasAnyAuthorizingPolicy in interface ILoadOnDemandPolicy.Registryuri - the URI to be tested.ILoadOnDemandPolicy.Registry.hasAnyAuthorizingPolicy(org.eclipse.emf.common.util.URI)public List<ILoadOnDemandPolicy> getPolicies()
getPolicies in interface ILoadOnDemandPolicy.RegistryILoadOnDemandPolicy.Registry.getPolicies()public ILoadOnDemandPolicy addPolicy(ILoadOnDemandPolicy policy)
policy to this registry.addPolicy in interface ILoadOnDemandPolicy.Registrypolicy - the policy to be added.policy.ILoadOnDemandPolicy.Registry.addPolicy(org.eclipse.emf.compare.rcp.policy.ILoadOnDemandPolicy)public ILoadOnDemandPolicy removePolicy(String className)
removePolicy in interface ILoadOnDemandPolicy.RegistryclassName - the class name of a previously registered policy.ILoadOnDemandPolicy.Registry.removePolicy(java.lang.String)public void clear()
clear in interface ILoadOnDemandPolicy.RegistryILoadOnDemandPolicy.Registry.clear()
Copyright (c) 2006, 2015 Obeo and others. All rights reserved.