Class: Dapp::Dimg::Builder::Base
- Inherits:
-
Object
- Object
- Dapp::Dimg::Builder::Base
- Defined in:
- lib/dapp/dimg/builder/base.rb
Instance Attribute Summary collapse
-
#dimg ⇒ Object
readonly
Returns the value of attribute dimg.
Instance Method Summary collapse
- #before_build_check ⇒ Object
- #before_dimg_should_be_built_check ⇒ Object
- #before_install(_image) ⇒ Object
- #before_install? ⇒ Boolean
- #before_install_checksum ⇒ Object
- #before_setup(_image) ⇒ Object
- #before_setup? ⇒ Boolean
- #before_setup_checksum ⇒ Object
- #build_artifact(_image) ⇒ Object
- #build_artifact? ⇒ Boolean
- #build_artifact_checksum ⇒ Object
-
#initialize(dimg) ⇒ Base
constructor
A new instance of Base.
- #install(_image) ⇒ Object
- #install? ⇒ Boolean
- #install_checksum ⇒ Object
- #setup(_image) ⇒ Object
- #setup? ⇒ Boolean
- #setup_checksum ⇒ Object
Constructor Details
#initialize(dimg) ⇒ Base
Returns a new instance of Base.
6 7 8 |
# File 'lib/dapp/dimg/builder/base.rb', line 6 def initialize(dimg) @dimg = dimg end |
Instance Attribute Details
#dimg ⇒ Object (readonly)
Returns the value of attribute dimg.
4 5 6 |
# File 'lib/dapp/dimg/builder/base.rb', line 4 def dimg @dimg end |
Instance Method Details
#before_build_check ⇒ Object
10 11 |
# File 'lib/dapp/dimg/builder/base.rb', line 10 def before_build_check end |
#before_dimg_should_be_built_check ⇒ Object
13 14 |
# File 'lib/dapp/dimg/builder/base.rb', line 13 def before_dimg_should_be_built_check end |
#before_install(_image) ⇒ Object
20 21 22 |
# File 'lib/dapp/dimg/builder/base.rb', line 20 def before_install(_image) raise end |
#before_install? ⇒ Boolean
16 17 18 |
# File 'lib/dapp/dimg/builder/base.rb', line 16 def before_install? false end |
#before_install_checksum ⇒ Object
24 25 26 |
# File 'lib/dapp/dimg/builder/base.rb', line 24 def before_install_checksum raise end |
#before_setup(_image) ⇒ Object
32 33 34 |
# File 'lib/dapp/dimg/builder/base.rb', line 32 def before_setup(_image) raise end |
#before_setup? ⇒ Boolean
28 29 30 |
# File 'lib/dapp/dimg/builder/base.rb', line 28 def before_setup? false end |
#before_setup_checksum ⇒ Object
36 37 38 |
# File 'lib/dapp/dimg/builder/base.rb', line 36 def before_setup_checksum raise end |
#build_artifact(_image) ⇒ Object
68 69 70 |
# File 'lib/dapp/dimg/builder/base.rb', line 68 def build_artifact(_image) raise end |
#build_artifact? ⇒ Boolean
64 65 66 |
# File 'lib/dapp/dimg/builder/base.rb', line 64 def build_artifact? false end |
#build_artifact_checksum ⇒ Object
72 73 74 |
# File 'lib/dapp/dimg/builder/base.rb', line 72 def build_artifact_checksum raise end |
#install(_image) ⇒ Object
44 45 46 |
# File 'lib/dapp/dimg/builder/base.rb', line 44 def install(_image) raise end |
#install? ⇒ Boolean
40 41 42 |
# File 'lib/dapp/dimg/builder/base.rb', line 40 def install? false end |
#install_checksum ⇒ Object
48 49 50 |
# File 'lib/dapp/dimg/builder/base.rb', line 48 def install_checksum raise end |
#setup(_image) ⇒ Object
56 57 58 |
# File 'lib/dapp/dimg/builder/base.rb', line 56 def setup(_image) raise end |
#setup? ⇒ Boolean
52 53 54 |
# File 'lib/dapp/dimg/builder/base.rb', line 52 def setup? false end |
#setup_checksum ⇒ Object
60 61 62 |
# File 'lib/dapp/dimg/builder/base.rb', line 60 def setup_checksum raise end |