ModuleSettings

public class ModuleSettings

The ModuleSettings contains the base module settings which are inside the org.motechproject.mds.util.Constants.Config.MODULE_FILE. The getters and setters inside this class always checks the given property and if it is incorrect then the default value of the given property will be returned.

Fields

DEFAULT_BUNDLE_RESTART

public static final Boolean DEFAULT_BUNDLE_RESTART

DEFAULT_DELETE_MODE

public static final DeleteMode DEFAULT_DELETE_MODE

DEFAULT_EMPTY_TRASH

public static final Boolean DEFAULT_EMPTY_TRASH

DEFAULT_GRID_SIZE

public static final Integer DEFAULT_GRID_SIZE

DEFAULT_TIME_UNIT

public static final TimeUnit DEFAULT_TIME_UNIT

DEFAULT_TIME_VALUE

public static final Integer DEFAULT_TIME_VALUE

Constructors

ModuleSettings

public ModuleSettings()

Methods

equals

public boolean equals(Object obj)

getDeleteMode

public DeleteMode getDeleteMode()

getGridSize

public Integer getGridSize()

getTimeUnit

public TimeUnit getTimeUnit()

getTimeValue

public Integer getTimeValue()

hashCode

public int hashCode()

isEmptyTrash

public Boolean isEmptyTrash()

isRestartModuleAfterTimeout

public Boolean isRestartModuleAfterTimeout()

setDeleteMode

public void setDeleteMode(DeleteMode deleteMode)

setEmptyTrash

public void setEmptyTrash(Boolean emptyTrash)

setGridSize

public void setGridSize(Integer gridSize)

setRestartModuleAfterTimeout

public void setRestartModuleAfterTimeout(Boolean refreshModuleAfterTimeout)

setTimeUnit

public void setTimeUnit(TimeUnit timeUnit)

setTimeValue

public void setTimeValue(Integer timeValue)