@Internal public interface

PageRedirect

com.atlassian.jira.web.landingpage.PageRedirect
Known Indirect Subclasses

@Internal

This interface is an internal implementation detail and will change without notice.

Clients that depend on @Internal classes and interfaces can not expect to be compatible with any version other than the version they were compiled against (even minor version and milestone releases may break binary compatibility with respect to @Internal elements).

Class Overview

Interface for implementing redirects of another pages. Especially useful when a particular page needs to be redirected to more than one place.

See LandingPageRedirectManager for more details.

Summary

Public Methods
Optional<String> url(ApplicationUser user)
Gets the URL of the redirect for a given user.

Public Methods

public Optional<String> url (ApplicationUser user)

Gets the URL of the redirect for a given user. Can return empty option, in that case redirect is not active.

Parameters
user for which redirect should be applied.
Returns
  • URL to which user will be redirected or empty() if this redirect should not be used.