Constants.Config ================ .. java:package:: org.motechproject.mds.util :noindex: .. java:type:: public static final class Config :outertype: Constants The \ ``Config``\ contains constant values related with properties inside files: .. * datanucleus.properties * motech-mds.properties Fields ------ DATANUCLEUS_FILE ^^^^^^^^^^^^^^^^ .. java:field:: public static final String DATANUCLEUS_FILE :outertype: Constants.Config Constant \ ``DATANUCLEUS_FILE``\ presents the file name with configuration for datanucleus. EMPTY_TRASH_JOB ^^^^^^^^^^^^^^^ .. java:field:: public static final String EMPTY_TRASH_JOB :outertype: Constants.Config Constant \ ``EMPTY_TRASH_JOB``\ presents a name of job scheduled by scheduler module. MDS_DELETE_MODE ^^^^^^^^^^^^^^^ .. java:field:: public static final String MDS_DELETE_MODE :outertype: Constants.Config Constant \ ``MDS_DELETE_MODE``\ presents what should happen with objects when there are deleted. They can be deleted permanently or moved to the trash.The following values are valid for this property: .. * delete * trash MDS_EMPTY_TRASH ^^^^^^^^^^^^^^^ .. java:field:: public static final String MDS_EMPTY_TRASH :outertype: Constants.Config The boolean property that specifies if the trash should be empty after some time. **See also:** :java:ref:`.MDS_DELETE_MODE`, :java:ref:`.MDS_TIME_VALUE`, :java:ref:`.MDS_TIME_UNIT` MDS_TIME_UNIT ^^^^^^^^^^^^^ .. java:field:: public static final String MDS_TIME_UNIT :outertype: Constants.Config The property that specifies what time unit should be used to specify time when trash should be cleaned. The following values are valid for this property: .. * Hours * Days * Weeks * Months * Years **See also:** :java:ref:`.MDS_DELETE_MODE`, :java:ref:`.MDS_EMPTY_TRASH`, :java:ref:`.MDS_TIME_VALUE` MDS_TIME_VALUE ^^^^^^^^^^^^^^ .. java:field:: public static final String MDS_TIME_VALUE :outertype: Constants.Config The integer property that specifies after what time (according with correct time unit) trash should be cleaned. **See also:** :java:ref:`.MDS_DELETE_MODE`, :java:ref:`.MDS_EMPTY_TRASH`, :java:ref:`.MDS_TIME_UNIT` MODULE_FILE ^^^^^^^^^^^ .. java:field:: public static final String MODULE_FILE :outertype: Constants.Config Constant \ ``MODULE_FILE``\ presents the file name with configuration for MDS module.