Sha256: 8b7a11ec9204f5adeafb38263ea2b14366c1d2d1e88d89725a4bf4ab7a2ffc90
Contents?: true
Size: 1.01 KB
Versions: 3
Compression:
Stored size: 1.01 KB
Contents
module Nucleus module Enums # All states that an application can obtain according to the lifecycle of Nucleus apps. module ApplicationStates # Application is created, no data has been deployed yet to any of the instances. CREATED = :created # Application crashed, none of the instances is running. # here was an error while starting or running the application- CRASHED = :crashed # All instances of the application were idled by the platform. IDLE = :idle # At least one instance of the application is running. RUNNING = :running # All instances of the already deployed application are stopped. STOPPED = :stopped # The application data has been deployed, but the application was not started yet. No instance is running. DEPLOYED = :deployed # List all application states. # @return [Array<Symbol>] Symbols representing an application state def self.all constants end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
nucleus-0.3.1 | lib/nucleus/core/enums/application_states.rb |
nucleus-0.2.0 | lib/nucleus/core/enums/application_states.rb |
nucleus-0.1.0 | lib/nucleus/core/enums/application_states.rb |