Class: Mxrb::Runtime::Plan
- Inherits:
-
Data
- Object
- Data
- Mxrb::Runtime::Plan
- Defined in:
- lib/mxrb/runtime/toolchain.rb
Instance Attribute Summary collapse
-
#builder_image ⇒ Object
readonly
Returns the value of attribute builder_image.
-
#java_version ⇒ Object
readonly
Returns the value of attribute java_version.
-
#jdk_package ⇒ Object
readonly
Returns the value of attribute jdk_package.
-
#jre_package ⇒ Object
readonly
Returns the value of attribute jre_package.
-
#mendix_version ⇒ Object
readonly
Returns the value of attribute mendix_version.
-
#mx_path ⇒ Object
readonly
Returns the value of attribute mx_path.
-
#mxbuild_path ⇒ Object
readonly
Returns the value of attribute mxbuild_path.
-
#runtime_image ⇒ Object
readonly
Returns the value of attribute runtime_image.
-
#toolchain_path ⇒ Object
readonly
Returns the value of attribute toolchain_path.
Instance Method Summary collapse
Instance Attribute Details
#builder_image ⇒ Object (readonly)
Returns the value of attribute builder_image
7 8 9 |
# File 'lib/mxrb/runtime/toolchain.rb', line 7 def builder_image @builder_image end |
#java_version ⇒ Object (readonly)
Returns the value of attribute java_version
7 8 9 |
# File 'lib/mxrb/runtime/toolchain.rb', line 7 def java_version @java_version end |
#jdk_package ⇒ Object (readonly)
Returns the value of attribute jdk_package
7 8 9 |
# File 'lib/mxrb/runtime/toolchain.rb', line 7 def jdk_package @jdk_package end |
#jre_package ⇒ Object (readonly)
Returns the value of attribute jre_package
7 8 9 |
# File 'lib/mxrb/runtime/toolchain.rb', line 7 def jre_package @jre_package end |
#mendix_version ⇒ Object (readonly)
Returns the value of attribute mendix_version
7 8 9 |
# File 'lib/mxrb/runtime/toolchain.rb', line 7 def mendix_version @mendix_version end |
#mx_path ⇒ Object (readonly)
Returns the value of attribute mx_path
7 8 9 |
# File 'lib/mxrb/runtime/toolchain.rb', line 7 def mx_path @mx_path end |
#mxbuild_path ⇒ Object (readonly)
Returns the value of attribute mxbuild_path
7 8 9 |
# File 'lib/mxrb/runtime/toolchain.rb', line 7 def mxbuild_path @mxbuild_path end |
#runtime_image ⇒ Object (readonly)
Returns the value of attribute runtime_image
7 8 9 |
# File 'lib/mxrb/runtime/toolchain.rb', line 7 def runtime_image @runtime_image end |
#toolchain_path ⇒ Object (readonly)
Returns the value of attribute toolchain_path
7 8 9 |
# File 'lib/mxrb/runtime/toolchain.rb', line 7 def toolchain_path @toolchain_path end |
Instance Method Details
#available? ⇒ Boolean
14 15 16 |
# File 'lib/mxrb/runtime/toolchain.rb', line 14 def available? RUNTIME_REQUIRED_FILES.all? { File.file?(File.join(runtime_path, _1)) } end |
#runtime_path ⇒ Object
12 |
# File 'lib/mxrb/runtime/toolchain.rb', line 12 def runtime_path = File.join(toolchain_path, 'runtime') |