.. java:import:: org.codehaus.jackson JsonGenerator .. java:import:: org.codehaus.jackson JsonNode .. java:import:: org.codehaus.jackson JsonParser .. java:import:: org.codehaus.jackson.map DeserializationContext .. java:import:: org.codehaus.jackson.map JsonDeserializer .. java:import:: org.codehaus.jackson.map JsonSerializer .. java:import:: org.codehaus.jackson.map SerializerProvider .. java:import:: org.codehaus.jackson.map.annotate JsonDeserialize .. java:import:: org.codehaus.jackson.map.annotate JsonSerialize .. java:import:: java.io IOException .. java:import:: java.util Objects .. java:import:: java.util Properties ModuleSettings ============== .. java:package:: org.motechproject.mds.config :noindex: .. java:type:: @JsonSerialize @JsonDeserialize public class ModuleSettings extends Properties The \ ``ModuleSettings``\ contains the base module settings which are inside the \ :java:ref:`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 ^^^^^^^^^^^^^^^^^^^ .. java:field:: public static final DeleteMode DEFAULT_DELETE_MODE :outertype: ModuleSettings DEFAULT_EMPTY_TRASH ^^^^^^^^^^^^^^^^^^^ .. java:field:: public static final Boolean DEFAULT_EMPTY_TRASH :outertype: ModuleSettings DEFAULT_TIME_UNIT ^^^^^^^^^^^^^^^^^ .. java:field:: public static final TimeUnit DEFAULT_TIME_UNIT :outertype: ModuleSettings DEFAULT_TIME_VALUE ^^^^^^^^^^^^^^^^^^ .. java:field:: public static final Integer DEFAULT_TIME_VALUE :outertype: ModuleSettings Methods ------- equals ^^^^^^ .. java:method:: @Override public boolean equals(Object obj) :outertype: ModuleSettings getDeleteMode ^^^^^^^^^^^^^ .. java:method:: public DeleteMode getDeleteMode() :outertype: ModuleSettings getTimeUnit ^^^^^^^^^^^ .. java:method:: public TimeUnit getTimeUnit() :outertype: ModuleSettings getTimeValue ^^^^^^^^^^^^ .. java:method:: public Integer getTimeValue() :outertype: ModuleSettings hashCode ^^^^^^^^ .. java:method:: @Override public int hashCode() :outertype: ModuleSettings isEmptyTrash ^^^^^^^^^^^^ .. java:method:: public Boolean isEmptyTrash() :outertype: ModuleSettings setDeleteMode ^^^^^^^^^^^^^ .. java:method:: public void setDeleteMode(String deleteMode) :outertype: ModuleSettings setDeleteMode ^^^^^^^^^^^^^ .. java:method:: public void setDeleteMode(DeleteMode deleteMode) :outertype: ModuleSettings setEmptyTrash ^^^^^^^^^^^^^ .. java:method:: public void setEmptyTrash(String emptyTrash) :outertype: ModuleSettings setEmptyTrash ^^^^^^^^^^^^^ .. java:method:: public void setEmptyTrash(Boolean emptyTrash) :outertype: ModuleSettings setTimeUnit ^^^^^^^^^^^ .. java:method:: public void setTimeUnit(String timeUnit) :outertype: ModuleSettings setTimeUnit ^^^^^^^^^^^ .. java:method:: public void setTimeUnit(TimeUnit timeUnit) :outertype: ModuleSettings setTimeValue ^^^^^^^^^^^^ .. java:method:: public void setTimeValue(String timeValue) :outertype: ModuleSettings setTimeValue ^^^^^^^^^^^^ .. java:method:: public void setTimeValue(Integer timeValue) :outertype: ModuleSettings toString ^^^^^^^^ .. java:method:: @Override public String toString() :outertype: ModuleSettings