public interface

Person

com.atlassian.bitbucket.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<PersonString> TO_EMAIL_ADDRESS This field is deprecated. in 4.0 for removal in 5.0. With Java 8, Person::getEmailAddress can be used instead.
Public Methods
String getEmailAddress()
Retrieves the person's e-mail address.
@Nonnull String getName()
Retrieves the person's name.

Fields

public static final Function<PersonString> TO_EMAIL_ADDRESS

This field is deprecated.
in 4.0 for removal in 5.0. With Java 8, Person::getEmailAddress can be used instead.

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