@Internal public interface

FirstUseFlow

com.atlassian.jira.onboarding.FirstUseFlow
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

Base class for implementing an introductory flow through a product on the JIRA platform. This type of flow is only ever triggered on a user's first use of JIRA. A user will not be put through more than one first-use flow.

Summary

Public Methods
@Nonnull String getUrl()
The location (of the web action) at which the first-use flow begins.
boolean isApplicable(ApplicationUser user)
A hook point to allow a flow to check whether it would be appropriate to put the user through it.

Public Methods

@Nonnull public String getUrl ()

The location (of the web action) at which the first-use flow begins. Any user that is eligible to be run through the flow will be directed to this URL upon logging in.

Returns
  • the URL of the flow's starting action.

public boolean isApplicable (ApplicationUser user)

A hook point to allow a flow to check whether it would be appropriate to put the user through it. For example, if you have a flow that only people with permission to create projects should go through, you could do that permission check here.

Returns
  • true if the first use flow should be activated for this user.