module Nucleus::Enums::ApplicationStates

All states that an application can obtain according to the lifecycle of Nucleus apps.

Constants

CRASHED

Application crashed, none of the instances is running. here was an error while starting or running the application-

CREATED

Application is created, no data has been deployed yet to any of the instances.

DEPLOYED

The application data has been deployed, but the application was not started yet. No instance is running.

IDLE

All instances of the application were idled by the platform.

RUNNING

At least one instance of the application is running.

STOPPED

All instances of the already deployed application are stopped.

Public Class Methods

all() click to toggle source

List all application states. @return [Array<Symbol>] Symbols representing an application state

# File lib/nucleus/core/enums/application_states.rb, line 21
def self.all
  constants
end