Top Description Fields Constructors Methods
org.apache.tools.ant.taskdefs.cvslib

public Class CvsUser

extends Object
Class Inheritance
Imports
org.apache.tools.ant.BuildException

Represents a CVS user with a userID and a full name.

Field Summary

Modifier and TypeField and Description
private String
displayName

The user's full name

private String
userID

The user's Id

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

the user's full name
getDisplayname
()

Get the user's full name

public String

Returns:

The userID value
getUserID
()

Get the user's id.

public void
setDisplayname(final String
the user's full name
displayName
)

Set the user's fullname

public void
setUserid(final String
the user's new id value.
userID
)

Set the user's id

public void
validate()

Validate that this object is configured.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

displayNameback to summary
private String displayName

The user's full name

userIDback to summary
private String userID

The user's Id

Constructor Detail

CvsUserback to summary
public CvsUser()

Method Detail

getDisplaynameback to summary
public String getDisplayname()

Get the user's full name

Returns:String

the user's full name

getUserIDback to summary
public String getUserID()

Get the user's id.

Returns:String

The userID value

setDisplaynameback to summary
public void setDisplayname(final String displayName)

Set the user's fullname

Parameters
displayName:String

the user's full name

setUseridback to summary
public void setUserid(final String userID)

Set the user's id

Parameters
userID:String

the user's new id value.

validateback to summary
public void validate() throws BuildException

Validate that this object is configured.

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