public static class ServerPredicates.ServerStatusPredicate extends Object implements com.google.common.base.Predicate<String>
Constructor and Description |
---|
ServerPredicates.ServerStatusPredicate(ServerApi serverApi,
Server.Status status) |
public ServerPredicates.ServerStatusPredicate(ServerApi serverApi, Server.Status status)
public boolean apply(String serverId)
apply
in interface com.google.common.base.Predicate<String>
IllegalStateException
- if the Server associated with serverId does not existCopyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.