public class User extends Object implements Comparable<User>
Modifier and Type | Class and Description |
---|---|
static class |
User.Builder |
Modifier | Constructor and Description |
---|---|
protected |
User(String name,
String password,
String host,
List<Map<String,String>> databases) |
protected |
User(String name,
String password,
String host,
Set<String> databases) |
Modifier and Type | Method and Description |
---|---|
static User.Builder |
builder() |
int |
compareTo(User that) |
boolean |
equals(Object obj) |
List<String> |
getDatabases() |
String |
getHost() |
String |
getIdentifier() |
String |
getName() |
String |
getPassword() |
int |
hashCode() |
protected com.google.common.base.Objects.ToStringHelper |
string() |
User.Builder |
toBuilder() |
String |
toString() |
@ConstructorProperties(value={"name","password","host","databases"}) protected User(String name, String password, String host, List<Map<String,String>> databases)
public String getName()
getIdentifier()
,
User.Builder.name(String)
public String getPassword()
User.Builder.password(String)
public String getHost()
User.Builder.host(String)
public String getIdentifier()
public List<String> getDatabases()
User.Builder#databases(String)
protected com.google.common.base.Objects.ToStringHelper string()
public static User.Builder builder()
public User.Builder toBuilder()
public int compareTo(User that)
compareTo
in interface Comparable<User>
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.