Class: OSGi::OSGi::Options
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
-
#bundle_resolving_strategy ⇒ Object
Returns the value of attribute bundle_resolving_strategy.
-
#package_resolving_strategy ⇒ Object
Returns the value of attribute package_resolving_strategy.
Instance Method Summary collapse
-
#initialize ⇒ Options
constructor
A new instance of Options.
Constructor Details
#initialize ⇒ Options
Returns a new instance of Options.
108 109 110 111 |
# File 'lib/buildr4osgi/osgi/registry.rb', line 108 def initialize @package_resolving_strategy = :all @bundle_resolving_strategy = :latest end |
Instance Attribute Details
#bundle_resolving_strategy ⇒ Object
Returns the value of attribute bundle_resolving_strategy.
106 107 108 |
# File 'lib/buildr4osgi/osgi/registry.rb', line 106 def bundle_resolving_strategy @bundle_resolving_strategy end |
#package_resolving_strategy ⇒ Object
Returns the value of attribute package_resolving_strategy.
106 107 108 |
# File 'lib/buildr4osgi/osgi/registry.rb', line 106 def package_resolving_strategy @package_resolving_strategy end |