Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.util.resource.internal
Class ResolverConfiguration

java.lang.Object
  extended by 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.
 
Method Summary
 Set<String> getHosts()
           
 String getId()
           
 ResourceResolver getResourceResolver()
           
 String getResourceTypeId()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResolverConfiguration

public ResolverConfiguration(String id,
                             org.eclipse.core.runtime.IConfigurationElement conf)
                      throws IllegalStateException
Create a resolver configuration.

Parameters:
id - the resolver ID
conf - the configuration element
Throws:
IllegalStateException - if no resolver is defined
Method Detail

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

Humboldt Alignment Editor 2.5.0

Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d