org.rhq.plugins.augeas
Class AugeasConfigurationDiscoveryComponent<T extends ResourceComponent<?>>

java.lang.Object
  extended by org.rhq.plugins.augeas.AugeasConfigurationDiscoveryComponent<T>
All Implemented Interfaces:
ManualAddFacet<T>, ResourceDiscoveryComponent<T>

public class AugeasConfigurationDiscoveryComponent<T extends ResourceComponent<?>>
extends Object
implements ResourceDiscoveryComponent<T>, ManualAddFacet<T>

Author:
Ian Springer, Lukas Krejci

Constructor Summary
AugeasConfigurationDiscoveryComponent()
           
 
Method Summary
protected  DiscoveredResourceDetails createResourceDetails(ResourceDiscoveryContext<T> discoveryContext, org.rhq.core.domain.configuration.Configuration pluginConfig)
           
protected  List<String> determineExcludeGlobs(ResourceDiscoveryContext<T> discoveryContext)
           
protected  List<String> determineIncludeGlobs(ResourceDiscoveryContext<T> discoveryContext)
           
 DiscoveredResourceDetails discoverResource(org.rhq.core.domain.configuration.Configuration pluginConfig, ResourceDiscoveryContext<T> discoveryContext)
           
 Set<DiscoveredResourceDetails> discoverResources(ResourceDiscoveryContext<T> discoveryContext)
           
static List<String> getGlobList(org.rhq.core.domain.configuration.PropertySimple list)
           
static org.rhq.core.domain.configuration.PropertySimple getGlobList(String name, List<String> simples)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AugeasConfigurationDiscoveryComponent

public AugeasConfigurationDiscoveryComponent()
Method Detail

discoverResources

public Set<DiscoveredResourceDetails> discoverResources(ResourceDiscoveryContext<T> discoveryContext)
                                                 throws InvalidPluginConfigurationException,
                                                        Exception
Specified by:
discoverResources in interface ResourceDiscoveryComponent<T extends ResourceComponent<?>>
Throws:
InvalidPluginConfigurationException
Exception

discoverResource

public DiscoveredResourceDetails discoverResource(org.rhq.core.domain.configuration.Configuration pluginConfig,
                                                  ResourceDiscoveryContext<T> discoveryContext)
                                           throws InvalidPluginConfigurationException
Specified by:
discoverResource in interface ManualAddFacet<T extends ResourceComponent<?>>
Throws:
InvalidPluginConfigurationException

createResourceDetails

protected DiscoveredResourceDetails createResourceDetails(ResourceDiscoveryContext<T> discoveryContext,
                                                          org.rhq.core.domain.configuration.Configuration pluginConfig)

determineIncludeGlobs

protected List<String> determineIncludeGlobs(ResourceDiscoveryContext<T> discoveryContext)

determineExcludeGlobs

protected List<String> determineExcludeGlobs(ResourceDiscoveryContext<T> discoveryContext)

getGlobList

public static org.rhq.core.domain.configuration.PropertySimple getGlobList(String name,
                                                                           List<String> simples)

getGlobList

public static List<String> getGlobList(org.rhq.core.domain.configuration.PropertySimple list)


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.