public interface

SetupStrategy

com.atlassian.jira.setup.SetupStrategy<ParametersT, StepT>
Known Indirect Subclasses

Class Overview

This interface abstracts actual process of setting up JIRA from the way progressing through steps is handled. Strategy delegates step switching through StepSwitcher callback. SetupStrategy also is responsible for defining initial steps.

Summary

Nested Classes
enum SetupStrategy.Status  
interface SetupStrategy.StepSwitcher<StepT>  
interface SetupStrategy.StepTask  
Public Methods
ImmutableMap<StepT, SetupStrategy.Status> getInitialSteps()
Define initial statuses of different steps.
void setup(ParametersT parameters, StepSwitcher<StepT> switcher)

Public Methods

public ImmutableMap<StepT, SetupStrategy.Status> getInitialSteps ()

Define initial statuses of different steps.

Returns
  • map of steps to their statuses. At least one step must be in pending status

public void setup (ParametersT parameters, StepSwitcher<StepT> switcher)

Throws
Exception