public class UserPredicates extends Object
Modifier and Type | Class and Description |
---|---|
static class |
UserPredicates.AccountTypeEquals |
static class |
UserPredicates.ApiKeyEquals |
Constructor and Description |
---|
UserPredicates() |
Modifier and Type | Method and Description |
---|---|
static com.google.common.base.Predicate<User> |
accountTypeEquals(Account.Type type) |
static com.google.common.base.Predicate<User> |
apiKeyEquals(String apiKey) |
static com.google.common.base.Predicate<User> |
isAdminAccount() |
static com.google.common.base.Predicate<User> |
isDomainAdminAccount() |
static com.google.common.base.Predicate<User> |
isUserAccount() |
public static com.google.common.base.Predicate<User> apiKeyEquals(String apiKey)
public static com.google.common.base.Predicate<User> accountTypeEquals(Account.Type type)
public static com.google.common.base.Predicate<User> isUserAccount()
public static com.google.common.base.Predicate<User> isDomainAdminAccount()
public static com.google.common.base.Predicate<User> isAdminAccount()
Copyright © 2009-2012 jclouds. All Rights Reserved.