class JrubyWhirr::ClusterSpec

Attributes

cluster_spec[RW]

Public Class Methods

new(proerty_file_path) click to toggle source

TODO: add methods for configuring the ClusterSpec

# File lib/jruby_whirr/cluster_spec.rb, line 9
def initialize (proerty_file_path)
        property_configuration = org.apache.commons.configuration.PropertiesConfiguration.new(proerty_file_path)
        @cluster_spec = ClusterSpec.new(property_configuration)
end

Public Instance Methods

get_service_name() click to toggle source
# File lib/jruby_whirr/cluster_spec.rb, line 14
def get_service_name
        @cluster_spec.getServiceName()
end
set_service_name(name) click to toggle source
# File lib/jruby_whirr/cluster_spec.rb, line 18
def set_service_name (name)
        @cluster_spec.setServiceName(name)
end