Class: OSGi::Options

Inherits:
ExecutionEnvironmentConfiguration show all
Defined in:
lib/buildr4osgi/osgi/registry.rb

Overview

The options for the osgi.options method

package_resolving_strategy:
  The package resolving strategy, it should be a symbol representing a module function in the OSGi::PackageResolvingStrategies module.
bundle_resolving_strategy:
  The bundle resolving strategy, it should be a symbol representing a module function in the OSGi::BundleResolvingStrategies module.
group_matchers:
  A set of Proc objects to match a bundle to a groupId for maven.
  The array is examined with the latest added Procs first.
  The first proc to return a non-nil answer is used, otherwise the OGSGI_GROUP_ID constant is used.

Instance Attribute Summary collapse

Attributes inherited from ExecutionEnvironmentConfiguration

#available_ee, #execution_environment, #extra_packages

Instance Method Summary collapse

Methods inherited from ExecutionEnvironmentConfiguration

#current_execution_environment, #register_execution_environment

Constructor Details

#initializeOptions

Returns a new instance of Options.



114
115
116
117
118
# File 'lib/buildr4osgi/osgi/registry.rb', line 114

def initialize
  super
  @package_resolving_strategy = :all
  @bundle_resolving_strategy = :latest
end

Instance Attribute Details

#bundle_resolving_strategyObject

Returns the value of attribute bundle_resolving_strategy.



112
113
114
# File 'lib/buildr4osgi/osgi/registry.rb', line 112

def bundle_resolving_strategy
  @bundle_resolving_strategy
end

#package_resolving_strategyObject

Returns the value of attribute package_resolving_strategy.



112
113
114
# File 'lib/buildr4osgi/osgi/registry.rb', line 112

def package_resolving_strategy
  @package_resolving_strategy
end