Package com.stimulus.archiva.domain.ArchiveRules

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


    public ArchiveRuleBean(ArchiveRules.Rule archiveRule) {
        this.archiveRule = archiveRule;
    }
   
    public void setAction(String action) throws ConfigurationException {
       Action newAction = Action.ARCHIVE;
       try {
        newAction = Action.valueOf(action.trim().toUpperCase());
       } catch (IllegalArgumentException iae) {
           logger.error("failed to set archive rule action. action is set to an illegal value {action='"+action+"'}");
           logger.info("archive rule is automatically set to archive the message (error recovery)");
View Full Code Here


    public ArchiveRuleBean(ArchiveRules.Rule archiveRule) {
        this.archiveRule = archiveRule;
    }
   
    public void setAction(String action) throws ConfigurationException {
       Action newAction = Action.ARCHIVE;
       try {
        newAction = Action.valueOf(action.trim().toUpperCase(Locale.ENGLISH));
       } catch (IllegalArgumentException iae) {
           logger.error("failed to set archive rule action. action is set to an illegal value {action='"+action+"'}");
           logger.info("archive rule is automatically set to archive the message (error recovery)");
View Full Code Here

TOP

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

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.