public final enum

ApplicationState

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ com.atlassian.stash.server.ApplicationState

Class Overview

The current state of the server. Possible state transitions are:

  • STARTING -> (FIRST_RUN | RUNNING | ERROR | STOPPING)
  • FIRST_RUN -> (RUNNING | MAINTENANCE | ERROR | STOPPING)
  • RUNNING -> (MAINTENANCE | ERROR | STOPPING)
  • ERROR -> (RUNNING | STOPPING)
  • MAINTENANCE -> (RUNNING | ERROR | STOPPING)
  • STOPPING ->

Summary

Enum Values
ApplicationState  ERROR  The application is currently not available because of an error  
ApplicationState  FIRST_RUN  The application is running for the first time and has not yet been configured. 
ApplicationState  MAINTENANCE  The application is currently not available because the application is under maintenance  
ApplicationState  RUNNING  The application has been setup and is running normally  
ApplicationState  STARTING  The application is starting up, but not yet available  
ApplicationState  STOPPING  The application is shutting down  
Public Methods
static ApplicationState valueOf(String name)
final static ApplicationState[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final ApplicationState ERROR

The application is currently not available because of an error

public static final ApplicationState FIRST_RUN

The application is running for the first time and has not yet been configured. All requests to the web UI will be redirected to the First Run Wizard.

public static final ApplicationState MAINTENANCE

The application is currently not available because the application is under maintenance

public static final ApplicationState RUNNING

The application has been setup and is running normally

public static final ApplicationState STARTING

The application is starting up, but not yet available

public static final ApplicationState STOPPING

The application is shutting down

Public Methods

public static ApplicationState valueOf (String name)

public static final ApplicationState[] values ()