org.apache.aries.application.resolver.obr.impl
Class RequirementImpl

java.lang.Object
  extended by org.apache.aries.application.resolver.obr.impl.RequirementImpl
All Implemented Interfaces:
org.apache.felix.bundlerepository.Requirement

public class RequirementImpl
extends Object
implements org.apache.felix.bundlerepository.Requirement


Constructor Summary
RequirementImpl(Consumer consumer)
           
RequirementImpl(String name, org.osgi.framework.Filter filter, boolean multiple, boolean optional, boolean extend, String comment)
           
 
Method Summary
 String getComment()
           
 String getFilter()
           
 String getName()
           
 boolean isExtend()
           
 boolean isMultiple()
           
 boolean isOptional()
           
 boolean isSatisfied(org.apache.felix.bundlerepository.Capability cap)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RequirementImpl

public RequirementImpl(String name,
                       org.osgi.framework.Filter filter,
                       boolean multiple,
                       boolean optional,
                       boolean extend,
                       String comment)

RequirementImpl

public RequirementImpl(Consumer consumer)
Method Detail

getComment

public String getComment()
Specified by:
getComment in interface org.apache.felix.bundlerepository.Requirement

getFilter

public String getFilter()
Specified by:
getFilter in interface org.apache.felix.bundlerepository.Requirement

getName

public String getName()
Specified by:
getName in interface org.apache.felix.bundlerepository.Requirement

isExtend

public boolean isExtend()
Specified by:
isExtend in interface org.apache.felix.bundlerepository.Requirement

isMultiple

public boolean isMultiple()
Specified by:
isMultiple in interface org.apache.felix.bundlerepository.Requirement

isOptional

public boolean isOptional()
Specified by:
isOptional in interface org.apache.felix.bundlerepository.Requirement

isSatisfied

public boolean isSatisfied(org.apache.felix.bundlerepository.Capability cap)
Specified by:
isSatisfied in interface org.apache.felix.bundlerepository.Requirement


Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.