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.booleanisValid()Returns true if the person is valid.static PersonParses the given string and returns aPersonobject.toString()Returns a string representation of thePersonobject, in the format "name >mail<".
-
Constructor Details
-
Person
public Person() -
Person
-
Person
-
-
Method Details
-
toPerson
-
toString
Returns a string representation of thePersonobject, 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:
isValidin interfaceValidateable
-