Package sonia.scm.repository
Class Person
java.lang.Object
sonia.scm.repository.Person
- All Implemented Interfaces:
Serializable
,Validateable
The
Person
(author) of a changeset.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetMail()
Returns the mail address of the changeset author.getName()
Returns the name of the changeset author.boolean
isValid()
Returns true if the person is valid.static Person
Parses the given string and returns aPerson
object.toString()
Returns a string representation of thePerson
object, in the format "name >mail<".
-
Constructor Details
-
Person
public Person() -
Person
-
Person
-
-
Method Details
-
toPerson
-
toString
Returns a string representation of thePerson
object, in the format "name >mail<". -
getMail
Returns the mail address of the changeset author. -
getName
Returns the name of the changeset author. -
isValid
public boolean isValid()Returns true if the person is valid.- Specified by:
isValid
in interfaceValidateable
-