use of org.infinispan.configuration.cache.BackupConfiguration in project wildfly by wildfly.
the class BackupsBuilder method getValue.
@Override
public SitesConfiguration getValue() {
SitesConfigurationBuilder builder = new ConfigurationBuilder().sites();
builder.backupFor().read(this.backupFor.getValue());
builder.disableBackups(this.backups.isEmpty());
for (Map.Entry<String, BackupConfiguration> backup : this.backups.entrySet()) {
builder.addBackup().read(backup.getValue());
builder.addInUseBackupSite(backup.getKey());
}
return builder.create();
}
Aggregations