public interface

Person

com.atlassian.stash.user.Person
Known Indirect Subclasses

Class Overview

A minimal person abstraction, suitable for describing authors, committers and other people who may not have an explicit user account.

Summary

Fields
public static final Function<Person, String> TO_EMAIL_ADDRESS
Public Methods
String getEmailAddress()
Retrieves the person's e-mail address.
@Nonnull String getName()
Retrieves the person's name.

Fields

public static final Function<Person, String> TO_EMAIL_ADDRESS

Public Methods

public String getEmailAddress ()

Retrieves the person's e-mail address.

Returns
  • the e-mail address

@Nonnull public String getName ()

Retrieves the person's name.

Returns
  • the name