コード例 #1
0
 private Collection<Predicate<String>> returnOrDefaultToClassesLikeGroupName(
     final Collection<String> filters) {
   if (!hasValue(filters)) {
     final String groupId = this.mojo.getProject().getGroupId() + "*";
     this.mojo.getLog().info("Defaulting to group id (" + groupId + ")");
     return Collections.<Predicate<String>>singleton(new Glob(groupId));
   } else {
     return FCollection.map(filters, Glob.toGlobPredicate());
   }
 }
コード例 #2
0
 private Collection<Predicate<String>> determineTargetTests() {
   return FCollection.map(this.mojo.getTargetTests(), Glob.toGlobPredicate());
 }
コード例 #3
0
 private Collection<Predicate<String>> globStringsToPredicates(
     final List<String> excludedMethods) {
   return FCollection.map(excludedMethods, Glob.toGlobPredicate());
 }