Package com.stimulus.archiva.domain.fields

Examples of com.stimulus.archiva.domain.fields.EmailFieldValue


                   if (value!= null && value.matches(regex))
                     return action;
               }
             return Action.SKIP;
           } else {
             EmailFieldValue efv = (EmailFieldValue)email.getFields().get(field);
            
             if (!regex.startsWith(".*"))
                 regex = ".*" + regex;
            
             if (!regex.endsWith(".*"))
                 regex = regex + ".*";
            
             if (efv!=null && efv.getField().getArchiveRule().equals(EmailField.AllowArchiveRule.ARCHIVERULE) &&
               efv.getValue()!=null && efv.getValue().matches(regex))
               return action;
             else
               return Action.SKIP;
           }
         }
View Full Code Here

TOP

Related Classes of com.stimulus.archiva.domain.fields.EmailFieldValue

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.