Class InstanceStateProvider

java.lang.Object
com.atlassian.jira.instance.InstanceStateProvider

@Internal @ExperimentalApi @ParametersAreNonnullByDefault public class InstanceStateProvider extends Object
Gives information of the current state of the Instance. States is one of InstanceState.
Since:
7.4
  • Constructor Details

    • InstanceStateProvider

      public InstanceStateProvider(BuildUtilsInfo buildUtilsInfo)
      Constructor to be used by PICO
  • Method Details

    • currentState

      @Nonnull public InstanceState currentState()
      Returns the current state of the instance. The possible states are specified in InstanceState.
      Returns:
      state of the instance