public class Discovery<T extends Discovery<T>> extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Discovery.DiscoveryResources
Child mutators for Discovery
|
Constructor and Description |
---|
Discovery() |
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Adds a property change listener
|
T |
aggregateProvider(AggregateProvider value)
Add the AggregateProvider object to the list of subresources
|
T |
aggregateProvider(AggregateProviderSupplier supplier)
Install a supplied AggregateProvider object to the list of subresources
|
T |
aggregateProvider(String childKey)
Create and configure a AggregateProvider object to the list of
subresources
|
T |
aggregateProvider(String childKey,
AggregateProviderConsumer consumer)
Create and configure a AggregateProvider object to the list of
subresources
|
T |
aggregateProviders(List<AggregateProvider> value)
Add all AggregateProvider objects to this subresource
|
String |
getKey() |
void |
removePropertyChangeListener(PropertyChangeListener listener)
Removes a property change listener
|
T |
staticProvider(StaticProvider value)
Add the StaticProvider object to the list of subresources
|
T |
staticProvider(StaticProviderSupplier supplier)
Install a supplied StaticProvider object to the list of subresources
|
T |
staticProvider(String childKey)
Create and configure a StaticProvider object to the list of subresources
|
T |
staticProvider(String childKey,
StaticProviderConsumer consumer)
Create and configure a StaticProvider object to the list of subresources
|
T |
staticProviders(List<StaticProvider> value)
Add all StaticProvider objects to this subresource
|
Discovery.DiscoveryResources |
subresources() |
public String getKey()
public void addPropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
public Discovery.DiscoveryResources subresources()
public T staticProviders(List<StaticProvider> value)
value
- List of StaticProvider objects.public T staticProvider(StaticProvider value)
value
- The StaticProvider to addpublic T staticProvider(String childKey, StaticProviderConsumer consumer)
key
- The key for the StaticProvider resourceconfig
- The StaticProviderConsumer to usepublic T staticProvider(String childKey)
key
- The key for the StaticProvider resourcepublic T staticProvider(StaticProviderSupplier supplier)
public T aggregateProviders(List<AggregateProvider> value)
value
- List of AggregateProvider objects.public T aggregateProvider(AggregateProvider value)
value
- The AggregateProvider to addpublic T aggregateProvider(String childKey, AggregateProviderConsumer consumer)
key
- The key for the AggregateProvider resourceconfig
- The AggregateProviderConsumer to usepublic T aggregateProvider(String childKey)
key
- The key for the AggregateProvider resourcepublic T aggregateProvider(AggregateProviderSupplier supplier)
Copyright © 2020 JBoss by Red Hat. All rights reserved.