com.boozallen.aissemble.configuration.dao.PropertyDao Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of foundation-configuration-store Show documentation
Show all versions of foundation-configuration-store Show documentation
Provides centralized secure storage of configurations
The newest version!
package com.boozallen.aissemble.configuration.dao;
/*-
* #%L
* aiSSEMBLE::Foundation::Configuration::Store
* %%
* Copyright (C) 2021 Booz Allen
* %%
* This software package is licensed under the Booz Allen Public License. All Rights Reserved.
* #L%
*/
import com.boozallen.aissemble.configuration.store.Property;
import com.boozallen.aissemble.configuration.store.PropertyKey;
import java.util.Set;
/**
* PropertyDao reads/writes the configuration property to the store
*/
public interface PropertyDao extends Dao {
/**
* Read property from store with given {@link PropertyKey} containing the group name and property name
* @param propertyKey property key
* @return Property
*/
Property read(PropertyKey propertyKey);
/**
* Write given property to the store
* @param property to be written to store
*/
void write(Property property);
/**
* Write given Set of property to the store
* @param properties to be written to store
*/
void write(Set properties);
}