public class UsernamePassword extends Object implements ValueFactory<Map<String,?>>
JMXClientJob
.
ValueFactory.Conversions
Constructor and Description |
---|
UsernamePassword() |
Modifier and Type | Method and Description |
---|---|
String |
getPassword() |
String |
getUsername() |
void |
setPassword(String password) |
void |
setUsername(String username) |
Map<String,?> |
toValue()
Provide an instance of the type this is a factory for.
|
public Map<String,?> toValue()
ValueFactory
toValue
in interface ValueFactory<Map<String,?>>
public String getUsername()
public void setUsername(String username)
public String getPassword()
public void setPassword(String password)