org.apache.tools.ant.taskdefs.cvslib

Class CvsUser

public class CvsUser extends Object

Represents a CVS user with a userID and a full name.
Method Summary
StringgetDisplayname()
Get the user's full name
StringgetUserID()
Get the user's id.
voidsetDisplayname(String displayName)
Set the user's fullname
voidsetUserid(String userID)
Set the user's id
voidvalidate()
Validate that this object is configured.

Method Detail

getDisplayname

public String getDisplayname()
Get the user's full name

Returns: the user's full name

getUserID

public String getUserID()
Get the user's id.

Returns: The userID value

setDisplayname

public void setDisplayname(String displayName)
Set the user's fullname

Parameters: displayName the user's full name

setUserid

public void setUserid(String userID)
Set the user's id

Parameters: userID the user's new id value.

validate

public void validate()
Validate that this object is configured.

Throws: BuildException if the instance has not be correctly configured.