Class: Dapp::Builder::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/dapp/builder/base.rb

Overview

Base

Direct Known Subclasses

Chef, Shell

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#applicationObject (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_checkObject



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

Returns:

  • (Boolean)


14
15
16
# File 'lib/dapp/builder/base.rb', line 14

def before_install?
  false
end

#before_install_checksumObject



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

Returns:

  • (Boolean)


26
27
28
# File 'lib/dapp/builder/base.rb', line 26

def before_setup?
  false
end

#before_setup_checksumObject



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

Returns:

  • (Boolean)


62
63
64
# File 'lib/dapp/builder/base.rb', line 62

def build_artifact?
  false
end

#build_artifact_checksumObject



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_checksumObject



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

Returns:

  • (Boolean)


38
39
40
# File 'lib/dapp/builder/base.rb', line 38

def install?
  false
end

#install_checksumObject



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

Returns:

  • (Boolean)


50
51
52
# File 'lib/dapp/builder/base.rb', line 50

def setup?
  false
end

#setup_checksumObject



58
59
60
# File 'lib/dapp/builder/base.rb', line 58

def setup_checksum
  raise
end