Class: Packer::Message::Artifact

Inherits:
Base
  • Object
show all
Defined in:
lib/packer/message/artifact.rb

Overview

Message representing an artifact produced by a builder

Instance Attribute Summary collapse

Attributes inherited from Base

#data, #target, #timestamp, #type

Method Summary

Methods inherited from Base

from_fields

Instance Attribute Details

#artifact_indexObject

Zero-based index of the artifact being described



6
7
8
# File 'lib/packer/message/artifact.rb', line 6

def artifact_index
  @artifact_index
end

#builder_idObject

The unique ID of the builder



9
10
11
# File 'lib/packer/message/artifact.rb', line 9

def builder_id
  @builder_id
end

#filesObject

Returns the value of attribute files.



11
12
13
# File 'lib/packer/message/artifact.rb', line 11

def files
  @files
end

#idObject

The ID (if any) of the artifact that was built



14
15
16
# File 'lib/packer/message/artifact.rb', line 14

def id
  @id
end

#nilObject

If true, this means the artifact was nil



17
18
19
# File 'lib/packer/message/artifact.rb', line 17

def nil
  @nil
end

#stringObject

The human-readable string description of the artifact



20
21
22
# File 'lib/packer/message/artifact.rb', line 20

def string
  @string
end