Class: Dapp::Builder::Base
- Inherits:
-
Object
- Object
- Dapp::Builder::Base
- Defined in:
- lib/dapp/builder/base.rb
Overview
Base
Instance Attribute Summary collapse
-
#application ⇒ Object
readonly
Returns the value of attribute application.
Instance Method Summary collapse
- #before_application_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
- #chef_cookbooks(_image) ⇒ Object
- #chef_cookbooks_checksum ⇒ Object
-
#initialize(application) ⇒ 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(application) ⇒ Base
Returns a new instance of Base.
7 8 9 |
# File 'lib/dapp/builder/base.rb', line 7 def initialize(application) @application = application end |
Instance Attribute Details
#application ⇒ Object (readonly)
Returns the value of attribute application.
5 6 7 |
# File 'lib/dapp/builder/base.rb', line 5 def application @application end |
Instance Method Details
#before_application_should_be_built_check ⇒ Object
11 12 |
# File 'lib/dapp/builder/base.rb', line 11 def before_application_should_be_built_check end |
#before_install(_image) ⇒ Object
18 19 20 |
# File 'lib/dapp/builder/base.rb', line 18 def before_install(_image) raise end |
#before_install? ⇒ Boolean
14 15 16 |
# File 'lib/dapp/builder/base.rb', line 14 def before_install? false end |
#before_install_checksum ⇒ Object
22 23 24 |
# File 'lib/dapp/builder/base.rb', line 22 def before_install_checksum raise end |
#before_setup(_image) ⇒ Object
30 31 32 |
# File 'lib/dapp/builder/base.rb', line 30 def before_setup(_image) raise end |
#before_setup? ⇒ Boolean
26 27 28 |
# File 'lib/dapp/builder/base.rb', line 26 def before_setup? false end |
#before_setup_checksum ⇒ Object
34 35 36 |
# File 'lib/dapp/builder/base.rb', line 34 def before_setup_checksum raise end |
#build_artifact(_image) ⇒ Object
66 67 68 |
# File 'lib/dapp/builder/base.rb', line 66 def build_artifact(_image) raise end |
#build_artifact? ⇒ Boolean
62 63 64 |
# File 'lib/dapp/builder/base.rb', line 62 def build_artifact? false end |
#build_artifact_checksum ⇒ Object
70 71 72 |
# File 'lib/dapp/builder/base.rb', line 70 def build_artifact_checksum raise end |
#chef_cookbooks(_image) ⇒ Object
74 75 |
# File 'lib/dapp/builder/base.rb', line 74 def chef_cookbooks(_image) end |
#chef_cookbooks_checksum ⇒ Object
77 78 79 |
# File 'lib/dapp/builder/base.rb', line 77 def chef_cookbooks_checksum [] end |
#install(_image) ⇒ Object
42 43 44 |
# File 'lib/dapp/builder/base.rb', line 42 def install(_image) raise end |
#install? ⇒ Boolean
38 39 40 |
# File 'lib/dapp/builder/base.rb', line 38 def install? false end |
#install_checksum ⇒ Object
46 47 48 |
# File 'lib/dapp/builder/base.rb', line 46 def install_checksum raise end |
#setup(_image) ⇒ Object
54 55 56 |
# File 'lib/dapp/builder/base.rb', line 54 def setup(_image) raise end |
#setup? ⇒ Boolean
50 51 52 |
# File 'lib/dapp/builder/base.rb', line 50 def setup? false end |
#setup_checksum ⇒ Object
58 59 60 |
# File 'lib/dapp/builder/base.rb', line 58 def setup_checksum raise end |