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