eu.esdihumboldt.util.resource.internal
Class ResolverConfiguration
java.lang.Object
eu.esdihumboldt.util.resource.internal.ResolverConfiguration
- All Implemented Interfaces:
- de.cs3d.util.eclipse.extension.simple.IdentifiableExtension.Identifiable
public class ResolverConfiguration
- extends Object
- implements de.cs3d.util.eclipse.extension.simple.IdentifiableExtension.Identifiable
A resolver and its configuration.
- Author:
- Simon Templer
Constructor Summary |
ResolverConfiguration(String id,
org.eclipse.core.runtime.IConfigurationElement conf)
Create a resolver configuration. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResolverConfiguration
public ResolverConfiguration(String id,
org.eclipse.core.runtime.IConfigurationElement conf)
throws IllegalStateException
- Create a resolver configuration.
- Parameters:
id
- the resolver IDconf
- the configuration element
- Throws:
IllegalStateException
- if no resolver is defined
getId
public String getId()
- Specified by:
getId
in interface de.cs3d.util.eclipse.extension.simple.IdentifiableExtension.Identifiable
- See Also:
IdentifiableExtension.Identifiable.getId()
getResourceTypeId
public String getResourceTypeId()
- Returns:
- the resource type ID
getHosts
public Set<String> getHosts()
- Returns:
- the host names
getResourceResolver
public ResourceResolver getResourceResolver()
- Returns:
- the resource resolver
Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d