Class User
- java.lang.Object
-
- org.codehaus.cargo.maven3.configuration.User
-
public class User extends Object
Holds configuration data for the<user>
tag used to configure the plugin in thepom.xml
file.
-
-
Constructor Summary
Constructors Constructor Description User()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description User
createUser()
Create user object.String
getName()
String
getPassword()
String[]
getRoles()
void
setName(String name)
void
setPassword(String password)
void
setRoles(String[] roles)
-
-
-
Method Detail
-
getName
public String getName()
- Returns:
- User name.
-
setName
public void setName(String name)
- Parameters:
name
- User name.
-
getPassword
public String getPassword()
- Returns:
- User password.
-
setPassword
public void setPassword(String password)
- Parameters:
password
- User password.
-
getRoles
public String[] getRoles()
- Returns:
- User roles.
-
setRoles
public void setRoles(String[] roles)
- Parameters:
roles
- User roles.
-
createUser
public User createUser()
Create user object.- Returns:
- Cargo user object.
-
-