public String getAction() { return archiveRule.getAction().toString().toLowerCase(); }
public String getField() { return archiveRule.getField().toString().toLowerCase(); }
public void setField(String field) throws ConfigurationException {
Field newField = Field.TO;
try {
newField = Field.valueOf(field.trim().toUpperCase());
} catch (IllegalArgumentException iae) {
logger.error("failed to set archive rule field. field is set to an illegal value {field='"+field+"'}");
logger.info("archive rule field is set to 'to' by default (error recovery)");