Class: Packer::Message::Artifact
- Defined in:
- lib/packer/message/artifact.rb
Overview
Message representing an artifact produced by a builder
Instance Attribute Summary collapse
-
#artifact_index ⇒ Object
Zero-based index of the artifact being described.
-
#builder_id ⇒ Object
The unique ID of the builder.
-
#files ⇒ Object
Returns the value of attribute files.
-
#id ⇒ Object
The ID (if any) of the artifact that was built.
-
#nil ⇒ Object
If
true
, this means the artifact was nil. -
#string ⇒ Object
The human-readable string description of the artifact.
Attributes inherited from Base
#data, #target, #timestamp, #type
Method Summary
Methods inherited from Base
Instance Attribute Details
#artifact_index ⇒ Object
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_id ⇒ Object
The unique ID of the builder
9 10 11 |
# File 'lib/packer/message/artifact.rb', line 9 def builder_id @builder_id end |
#files ⇒ Object
Returns the value of attribute files.
11 12 13 |
# File 'lib/packer/message/artifact.rb', line 11 def files @files end |
#id ⇒ Object
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 |
#nil ⇒ Object
If true
, this means the artifact was nil
17 18 19 |
# File 'lib/packer/message/artifact.rb', line 17 def nil @nil end |
#string ⇒ Object
The human-readable string description of the artifact
20 21 22 |
# File 'lib/packer/message/artifact.rb', line 20 def string @string end |