Class: Puppet_X::Coi::Jboss::Internal::State::ExecutionState
- Inherits:
-
Object
- Object
- Puppet_X::Coi::Jboss::Internal::State::ExecutionState
- Defined in:
- lib/puppet_x/coi/jboss/internal/state/execution_state.rb
Overview
Wrapper that holds informations about result of command execution
Instance Attribute Summary collapse
-
#command ⇒ Object
readonly
Standard getters for ret_code, success, output and command.
-
#output ⇒ Object
readonly
Standard getters for ret_code, success, output and command.
-
#ret_code ⇒ Object
readonly
Standard getters for ret_code, success, output and command.
-
#success ⇒ Object
readonly
Standard getters for ret_code, success, output and command.
Instance Method Summary collapse
-
#initialize(ret_code, success, output, command) ⇒ ExecutionState
constructor
Constructor that creates execution state object.
Constructor Details
#initialize(ret_code, success, output, command) ⇒ ExecutionState
Constructor that creates execution state object
8 9 10 11 12 13 |
# File 'lib/puppet_x/coi/jboss/internal/state/execution_state.rb', line 8 def initialize(ret_code, success, output, command) @ret_code = ret_code @success = success @output = output @command = command end |
Instance Attribute Details
#command ⇒ Object (readonly)
Standard getters for ret_code, success, output and command
16 17 18 |
# File 'lib/puppet_x/coi/jboss/internal/state/execution_state.rb', line 16 def command @command end |
#output ⇒ Object (readonly)
Standard getters for ret_code, success, output and command
16 17 18 |
# File 'lib/puppet_x/coi/jboss/internal/state/execution_state.rb', line 16 def output @output end |
#ret_code ⇒ Object (readonly)
Standard getters for ret_code, success, output and command
16 17 18 |
# File 'lib/puppet_x/coi/jboss/internal/state/execution_state.rb', line 16 def ret_code @ret_code end |
#success ⇒ Object (readonly)
Standard getters for ret_code, success, output and command
16 17 18 |
# File 'lib/puppet_x/coi/jboss/internal/state/execution_state.rb', line 16 def success @success end |