Class: Mxrb::Runtime::Plan

Inherits:
Data
  • Object
show all
Defined in:
lib/mxrb/runtime/toolchain.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#builder_imageObject (readonly)

Returns the value of attribute builder_image

Returns:

  • (Object)

    the current value of builder_image



7
8
9
# File 'lib/mxrb/runtime/toolchain.rb', line 7

def builder_image
  @builder_image
end

#java_versionObject (readonly)

Returns the value of attribute java_version

Returns:

  • (Object)

    the current value of java_version



7
8
9
# File 'lib/mxrb/runtime/toolchain.rb', line 7

def java_version
  @java_version
end

#jdk_packageObject (readonly)

Returns the value of attribute jdk_package

Returns:

  • (Object)

    the current value of jdk_package



7
8
9
# File 'lib/mxrb/runtime/toolchain.rb', line 7

def jdk_package
  @jdk_package
end

#jre_packageObject (readonly)

Returns the value of attribute jre_package

Returns:

  • (Object)

    the current value of jre_package



7
8
9
# File 'lib/mxrb/runtime/toolchain.rb', line 7

def jre_package
  @jre_package
end

#mendix_versionObject (readonly)

Returns the value of attribute mendix_version

Returns:

  • (Object)

    the current value of mendix_version



7
8
9
# File 'lib/mxrb/runtime/toolchain.rb', line 7

def mendix_version
  @mendix_version
end

#mx_pathObject (readonly)

Returns the value of attribute mx_path

Returns:

  • (Object)

    the current value of mx_path



7
8
9
# File 'lib/mxrb/runtime/toolchain.rb', line 7

def mx_path
  @mx_path
end

#mxbuild_pathObject (readonly)

Returns the value of attribute mxbuild_path

Returns:

  • (Object)

    the current value of mxbuild_path



7
8
9
# File 'lib/mxrb/runtime/toolchain.rb', line 7

def mxbuild_path
  @mxbuild_path
end

#runtime_imageObject (readonly)

Returns the value of attribute runtime_image

Returns:

  • (Object)

    the current value of runtime_image



7
8
9
# File 'lib/mxrb/runtime/toolchain.rb', line 7

def runtime_image
  @runtime_image
end

#toolchain_pathObject (readonly)

Returns the value of attribute toolchain_path

Returns:

  • (Object)

    the current value of toolchain_path



7
8
9
# File 'lib/mxrb/runtime/toolchain.rb', line 7

def toolchain_path
  @toolchain_path
end

Instance Method Details

#available?Boolean

Returns:

  • (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_pathObject



12
# File 'lib/mxrb/runtime/toolchain.rb', line 12

def runtime_path = File.join(toolchain_path, 'runtime')