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

org.openstack4j.model.heat.SoftwareConfig Maven / Gradle / Ivy

package org.openstack4j.model.heat;

import java.util.List;
import java.util.Map;

import org.openstack4j.common.Buildable;
import org.openstack4j.model.ModelEntity;
import org.openstack4j.model.heat.builder.SoftwareConfigBuilder;

/**
 * Software Configuration Model
 *
 * @author Jeremy Unruh
 */
public interface SoftwareConfig extends ModelEntity, Buildable {

    /**
     * @return the configuration identifier
     */
    String getId();
    
    /**
     * The name of this configuration
     * 
     * @return the name of this configuration
     */
    String getName();
    
    /**
     * Namespace that groups this software configuration by when it is delivered to a server. 
     * This setting might imply which configuration tool performs the configuration.
     * 
     * @return the namespace group
     */
    String getGroup();
    
    /**
     * Configuration script or manifest that defines which configuration is performed.
     * 
     * @return the configuration script
     */
    String getConfig();
    
    /**
     * List of inputs that this software configuration expects
     * 
     * @return list of inputs
     */
    List getInputs();

    /**
     * List of outputs this software configuration produces
     * 
     * @return list of outputs
     */
    List getOutputs();
    
    /**
     * Map containing options specific to the configuration management tool used by this resource.
     * 
     * @return map of options or null
     */
    Map getOptions();
    
    public interface Input {
        
        /**
         * @return the name of this input
         */
        String getName();
        
        /**
         * @return the description of this input
         */
        String getDescription();
        
        /**
         * @return default initialized value for this input
         */
        String getDefaultValue();
        
        /**
         * @return the input type
         */
        String getType();
    }
    
    public interface Output {
        
        /**
         * @return the name of this output
         */
        String getName();
        
        /**
         * @return the description of this output
         */
        String getDescription();
        
        /**
         * @return the data type of this output
         */
        String getType();
        
        /**
         * @return true if this is an error related output
         */
        boolean isErrorOutput();
    }
    
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy