Sha256: 8d7225e9c6d1506724588dddb3f60306ad361feb4448a3b9100debe72a679372

Contents?: true

Size: 257 Bytes

Versions: 1

Compression:

Stored size: 257 Bytes

Contents

# encoding: utf-8
module LogStash
  class ExecutionContext
    attr_reader :pipeline, :agent

    def initialize(pipeline, agent)
      @pipeline = pipeline
      @agent = agent
    end
    
    def pipeline_id
      @pipeline.pipeline_id
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
logstash-core-6.0.0.alpha1-java lib/logstash/execution_context.rb