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

com.day.cq.replication.AgentConfigGroup Maven / Gradle / Ivy

/*************************************************************************
 *
 * ADOBE CONFIDENTIAL
 * __________________
 *
 *  Copyright 2011 Adobe Systems Incorporated
 *  All Rights Reserved.
 *
 * NOTICE:  All information contained herein is, and remains
 * the property of Adobe Systems Incorporated and its suppliers,
 * if any.  The intellectual and technical concepts contained
 * herein are proprietary to Adobe Systems Incorporated and its
 * suppliers and are protected by trade secret or copyright law.
 * Dissemination of this information or reproduction of this material
 * is strictly forbidden unless prior written permission is obtained
 * from Adobe Systems Incorporated.
 **************************************************************************/
package com.day.cq.replication;

import java.util.Map;

/**
 * AgentConfigGroup...
 */
public interface AgentConfigGroup {

    /**
     * Returns the id of this config group
     * @return the id
     */
    String getId();

    /**
     * Returns the name of this config group
     * @return the name
     */
    String getName();

    /**
     * Returns the title of this config group
     * @return the title
     */
    String getTitle();

    /**
     * Returns the run modes this group is active in
     * @return array of run mode names
     */
    String[] getRunModes();

    /**
     * Checks if this config group is active in respect to run modes. The group is active if at least one run mode
     * is currently active. Note that the run modes are evaluated when the agent config is created.
     * @return true if active
     */
    boolean isActive();

    /**
     * Returns the agent configurations that belong to this group.
     * @return map of configurations, key is the configuration path.
     */
    Map getConfigurations();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy