public class DeploymentScanner<T extends DeploymentScanner<T>> extends Object
Modifier and Type | Class and Description |
---|---|
static class |
DeploymentScanner.DeploymentScannerResources
Child mutators for DeploymentScanner
|
Constructor and Description |
---|
DeploymentScanner() |
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Adds a property change listener
|
String |
getKey() |
void |
removePropertyChangeListener(PropertyChangeListener listener)
Removes a property change listener
|
T |
scanner(Scanner value)
Add the Scanner object to the list of subresources
|
T |
scanner(ScannerSupplier supplier)
Install a supplied Scanner object to the list of subresources
|
T |
scanner(String childKey)
Create and configure a Scanner object to the list of subresources
|
T |
scanner(String childKey,
ScannerConsumer consumer)
Create and configure a Scanner object to the list of subresources
|
T |
scanners(List<Scanner> value)
Add all Scanner objects to this subresource
|
DeploymentScanner.DeploymentScannerResources |
subresources() |
public String getKey()
public void addPropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
public DeploymentScanner.DeploymentScannerResources subresources()
public T scanners(List<Scanner> value)
value
- List of Scanner objects.public T scanner(Scanner value)
value
- The Scanner to addpublic T scanner(String childKey, ScannerConsumer consumer)
key
- The key for the Scanner resourceconfig
- The ScannerConsumer to usepublic T scanner(String childKey)
key
- The key for the Scanner resourcepublic T scanner(ScannerSupplier supplier)
Copyright © 2020 JBoss by Red Hat. All rights reserved.