Module: Nucleus::Enums::ApplicationStates
- Defined in:
- lib/nucleus/core/enums/application_states.rb
Overview
All states that an application can obtain according to the lifecycle of Nucleus apps.
Constant Summary collapse
- CREATED =
Application is created, no data has been deployed yet to any of the instances.
:created
- CRASHED =
Application crashed, none of the instances is running. here was an error while starting or running the application-
:crashed
- IDLE =
All instances of the application were idled by the platform.
:idle
- RUNNING =
At least one instance of the application is running.
:running
- STOPPED =
All instances of the already deployed application are stopped.
:stopped
- DEPLOYED =
The application data has been deployed, but the application was not started yet. No instance is running.
:deployed
Class Method Summary collapse
-
.all ⇒ Array<Symbol>
List all application states.
Class Method Details
.all ⇒ Array<Symbol>
List all application states.
21 22 23 |
# File 'lib/nucleus/core/enums/application_states.rb', line 21 def self.all constants end |