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

org.bidib.wizard.common.service.SettingsService Maven / Gradle / Ivy

package org.bidib.wizard.common.service;

import java.io.File;

import org.bidib.wizard.api.model.common.PreferencesPortType;
import org.bidib.wizard.common.model.settings.DebugToolsSettingsInterface;
import org.bidib.wizard.common.model.settings.ExperimentalSettingsInterface;
import org.bidib.wizard.common.model.settings.FirmwareRepoSettingsInterface;
import org.bidib.wizard.common.model.settings.GatewayServiceSettingsInterface;
import org.bidib.wizard.common.model.settings.GlobalSettingsInterface;
import org.bidib.wizard.common.model.settings.LocalHostSettingsInterface;
import org.bidib.wizard.common.model.settings.Misc2SettingsInterface;
import org.bidib.wizard.common.model.settings.MiscSettingsInterface;
import org.bidib.wizard.common.model.settings.NetBidibSettingsInterface;
import org.bidib.wizard.common.model.settings.WizardSettingsInterface;

public interface SettingsService {

    /**
     * @return the installation path
     */
    String getInstallationPath();

    /**
     * Store the settings.
     */
    void storeSettings();

    /**
     * Set the selected port type.
     * 
     * @param connectionId
     *            the connection id
     * @param portType
     *            the port type
     */
    void setSelectedPortType(String connectionId, PreferencesPortType portType);

    /**
     * @return the wizard settings
     */
    WizardSettingsInterface getWizardSettings();

    /**
     * @return the global settings
     */
    GlobalSettingsInterface getGlobalSettings();

    /**
     * @return the miscellaneous settings
     */
    MiscSettingsInterface getMiscSettings();

    /**
     * @return the miscellaneous2 settings
     */
    Misc2SettingsInterface getMisc2Settings();

    /**
     * @return the experimental settings
     */
    ExperimentalSettingsInterface getExperimentalSettings();

    /**
     * @return the debugTools settings
     */
    DebugToolsSettingsInterface getDebugToolsSettings();

    /**
     * @return the netBidib settings
     */
    NetBidibSettingsInterface getNetBidibSettings();

    /**
     * @return the firmware repo settings
     */
    FirmwareRepoSettingsInterface getFirmwareRepoSettings();

    /**
     * @return the localhost settings
     */
    LocalHostSettingsInterface getLocalHostSettings();

    /**
     * @return the gateway service settings
     */
    GatewayServiceSettingsInterface getGatewayServiceSettings();

    /**
     * Get the default file name for userDevices.
     * 
     * @return the file
     */
    File prepareDefaultUserDevicesListFile();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy