Package com.stimulus.archiva.domain.ArchiveRules

Examples of com.stimulus.archiva.domain.ArchiveRules.Field


  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)");
View Full Code Here

TOP

Related Classes of com.stimulus.archiva.domain.ArchiveRules.Field

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.