예제 #1
0
 @Override
 public void initWithNiwsConfig(IClientConfig clientConfig) {
   predicate =
       CompositePredicate.withPredicate(new AvailabilityPredicate(this, clientConfig))
           .addFallbackPredicate(AbstractServerPredicate.alwaysTrue())
           .build();
 }
예제 #2
0
 public AvailabilityFilteringRule() {
   super();
   predicate =
       CompositePredicate.withPredicate(new AvailabilityPredicate(this, null))
           .addFallbackPredicate(AbstractServerPredicate.alwaysTrue())
           .build();
 }