Class: Locd::Agent::Status
- Inherits:
-
Hamster::Hash
- Object
- Hamster::Hash
- Locd::Agent::Status
- Includes:
- NRSER::Props::Immutable::Hash
- Defined in:
- lib/locd/agent.rb
Overview
Structs
Direct Known Subclasses
Instance Attribute Summary collapse
-
#last_exit_code ⇒ Integer?
readonly
The last status code the agent exited with, if any is available.
-
#loaded ⇒ Boolean
readonly
trueif the agent is loaded in launchd. -
#pid ⇒ Integer?
readonly
The process ID the agent is running as (if any).
-
#running ⇒ Boolean
readonly
trueif the agent is currently running.
Instance Attribute Details
#last_exit_code ⇒ Integer? (readonly)
The last status code the agent exited with, if any is available.
81 |
# File 'lib/locd/agent.rb', line 81 prop :last_exit_code, type: t.int? |
#loaded ⇒ Boolean (readonly)
true if the agent is loaded in launchd.
63 |
# File 'lib/locd/agent.rb', line 63 prop :loaded, type: t.bool |
#pid ⇒ Integer? (readonly)
The process ID the agent is running as (if any).
75 |
# File 'lib/locd/agent.rb', line 75 prop :pid, type: t.non_neg_int? |
#running ⇒ Boolean (readonly)
true if the agent is currently running.
69 |
# File 'lib/locd/agent.rb', line 69 prop :running, type: t.bool |