ModuleSettings

public class ModuleSettings extends Properties

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_DELETE_MODE

public static final DeleteMode DEFAULT_DELETE_MODE

DEFAULT_EMPTY_TRASH

public static final Boolean DEFAULT_EMPTY_TRASH

DEFAULT_TIME_UNIT

public static final TimeUnit DEFAULT_TIME_UNIT

DEFAULT_TIME_VALUE

public static final Integer DEFAULT_TIME_VALUE

Methods

equals

public boolean equals(Object obj)

getDeleteMode

public DeleteMode getDeleteMode()

getTimeUnit

public TimeUnit getTimeUnit()

getTimeValue

public Integer getTimeValue()

hashCode

public int hashCode()

isEmptyTrash

public Boolean isEmptyTrash()

setDeleteMode

public void setDeleteMode(String deleteMode)

setDeleteMode

public void setDeleteMode(DeleteMode deleteMode)

setEmptyTrash

public void setEmptyTrash(String emptyTrash)

setEmptyTrash

public void setEmptyTrash(Boolean emptyTrash)

setTimeUnit

public void setTimeUnit(String timeUnit)

setTimeUnit

public void setTimeUnit(TimeUnit timeUnit)

setTimeValue

public void setTimeValue(String timeValue)

setTimeValue

public void setTimeValue(Integer timeValue)

toString

public String toString()