All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.boozallen.aissemble.configuration.dao.PropertyDao Maven / Gradle / Ivy

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);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy