Class: PuppetLanguageServer::GlobalQueues::SidecarQueueJob
- Inherits:
-
SingleInstanceQueueJob
- Object
- SingleInstanceQueueJob
- PuppetLanguageServer::GlobalQueues::SidecarQueueJob
- Defined in:
- lib/puppet-languageserver/global_queues/sidecar_queue.rb
Instance Attribute Summary collapse
-
#action ⇒ Object
Returns the value of attribute action.
-
#additional_args ⇒ Object
Returns the value of attribute additional_args.
-
#connection_id ⇒ Object
Returns the value of attribute connection_id.
-
#handle_errors ⇒ Object
Returns the value of attribute handle_errors.
Attributes inherited from SingleInstanceQueueJob
Instance Method Summary collapse
-
#initialize(action, additional_args, handle_errors, connection_id) ⇒ SidecarQueueJob
constructor
A new instance of SidecarQueueJob.
Constructor Details
#initialize(action, additional_args, handle_errors, connection_id) ⇒ SidecarQueueJob
Returns a new instance of SidecarQueueJob.
12 13 14 15 16 17 18 |
# File 'lib/puppet-languageserver/global_queues/sidecar_queue.rb', line 12 def initialize(action, additional_args, handle_errors, connection_id) super("#{action}-#{connection_id}") @action = action @additional_args = additional_args @handle_errors = handle_errors @connection_id = connection_id end |
Instance Attribute Details
#action ⇒ Object
Returns the value of attribute action.
10 11 12 |
# File 'lib/puppet-languageserver/global_queues/sidecar_queue.rb', line 10 def action @action end |
#additional_args ⇒ Object
Returns the value of attribute additional_args.
10 11 12 |
# File 'lib/puppet-languageserver/global_queues/sidecar_queue.rb', line 10 def additional_args @additional_args end |
#connection_id ⇒ Object
Returns the value of attribute connection_id.
10 11 12 |
# File 'lib/puppet-languageserver/global_queues/sidecar_queue.rb', line 10 def connection_id @connection_id end |
#handle_errors ⇒ Object
Returns the value of attribute handle_errors.
10 11 12 |
# File 'lib/puppet-languageserver/global_queues/sidecar_queue.rb', line 10 def handle_errors @handle_errors end |