org.bidib.wizard.common.model.settings.FirmwareRepoSettingsInterface Maven / Gradle / Ivy
package org.bidib.wizard.common.model.settings;
import org.bidib.api.json.types.firmware.FirmwareVersionType;
import org.bidib.wizard.api.model.bean.ObservableBean;
public interface FirmwareRepoSettingsInterface extends ObservableBean, SettingsInterface {
static final String PROPERTY_LOCATION = "location";
static final String PROPERTY_REMOTE_LOCATION = "remoteLocation";
static final String PROPERTY_REMOTE_CHECK_CRON_EXPRESSION = "remoteCheckCronExpression";
static final String PROPERTY_REMOTE_CHECK_ENABLED = "remoteCheckEnabled";
static final String PROPERTY_PERIODIC_REMOTE_CHECK_ENABLED = "periodicRemoteCheckEnabled";
static final String PROPERTY_SHOW_NEW_FIRMWARE_AVAILABLE = "showNewFirmwareAvailable";
static final String PROPERTY_FIRMWARE_STATUS_LEVEL = "firmwareStatusLevel";
static final int FIRMWARE_REPO_SETTINGS_VERSION_0 = 0;
static final int FIRMWARE_REPO_SETTINGS_VERSION_1 = 1;
static final int FIRMWARE_REPO_SETTINGS_VERSION_2 = 2;
static final int FIRMWARE_REPO_SETTINGS_VERSION_LATEST = FIRMWARE_REPO_SETTINGS_VERSION_2;
/**
* @return the local firmware repo location
*/
String getLocation();
/**
* @param location
* the local firmware repo location
*/
void setLocation(String location);
/**
* @return the remoteLocation
*/
String getRemoteLocation();
/**
* @param remoteLocation
* the remoteLocation to set
*/
void setRemoteLocation(String remoteLocation);
/**
* @return the remote check cron expression
*/
String getRemoteCheckCronExpression();
/**
* @param remoteCheckCronExpression
* the remote check cron expression
*/
void setRemoteCheckCronExpression(String remoteCheckCronExpression);
/**
* @return the remote check enabled flag
*/
boolean isRemoteCheckEnabled();
/**
* @param remoteCheckEnabled
* the remote check enabled flag
*/
void setRemoteCheckEnabled(boolean remoteCheckEnabled);
/**
* @return the periodic remote check enabled flag
*/
boolean isPeriodicRemoteCheckEnabled();
/**
* @param periodicRemoteCheckEnabled
* the periodic remote check enabled flag
*/
void setPeriodicRemoteCheckEnabled(boolean periodicRemoteCheckEnabled);
/**
* @return the show new firmware available flag
*/
boolean isShowNewFirmwareAvailable();
/**
* @param showNewFirmwareAvailable
* the show new firmware available flag
*/
void setShowNewFirmwareAvailable(boolean showNewFirmwareAvailable);
/**
* @return the firmwareStatusLevel
*/
FirmwareVersionType.FirmwareStatusType getFirmwareStatusLevel();
/**
* @param firmwareStatusLevel
* the firmwareStatusLevel to set
*/
void setFirmwareStatusLevel(FirmwareVersionType.FirmwareStatusType firmwareStatusLevel);
}