Package com.atlassian.jira.onboarding
Interface OnboardingService
- All Known Implementing Classes:
OnboardingServiceImpl
public interface OnboardingService
-
Method Summary
Modifier and TypeMethodDescriptionvoidMark the user as completing their first user flowGet the current sequence key for the flow that the user is completing.Checks whether the user should do an onboarding flow for the product.Get the key of the flow that the user is completing.booleanvoidsetCurrentFirstUseFlowSequence(ApplicationUser user, String sequenceKey) Assign the user as beginning a current sequence in the flow
-
Method Details
-
getFirstUseFlow
Checks whether the user should do an onboarding flow for the product. Returns the appropriate onboarding flow to put the user through (if any). Additionally stores a resolved user property when the onboarding was evaluated and skipped for the current user- Returns:
- a
FirstUseFlowif the user is eligible for one (and hasn't done one before), null otherwise.
-
getStartedFirstUseFlowKey
Get the key of the flow that the user is completing.- Parameters:
user- to check against- Returns:
- key or null if not doing a flow
-
hasCompletedFirstUseFlow
- Parameters:
user- to check against- Returns:
- whether a user has already completed a first user flow.
-
completeFirstUseFlow
Mark the user as completing their first user flow- Parameters:
user- that the first flow has been completed for
-
setCurrentFirstUseFlowSequence
Assign the user as beginning a current sequence in the flow- Parameters:
user- that is completing the flowsequenceKey- of the sequence being started
-
getCurrentFirstUseFlowSequence
Get the current sequence key for the flow that the user is completing.- Parameters:
user- that is completing flow- Returns:
- sequence key of flow
-