Eclipse Platform
Release 3.6

org.eclipse.equinox.p2.metadata
Interface IRequirement


public interface IRequirement

Since:
2.0
Restriction:
This interface is not intended to be implemented by clients.
Restriction:
This interface is not intended to be extended by clients.

Method Summary
 Filter getFilter()
           
 IMatchExpression<IInstallableUnit> getMatches()
          Returns a boolean match expression that will return true for any IInstallableUnit that matches the requirement.
 int getMax()
           
 int getMin()
           
 boolean isGreedy()
           
 boolean isMatch(IInstallableUnit iu)
           
 

Method Detail

getMin

int getMin()

getMax

int getMax()

getFilter

Filter getFilter()

getMatches

IMatchExpression<IInstallableUnit> getMatches()
Returns a boolean match expression that will return true for any IInstallableUnit that matches the requirement.

Returns:
A boolean match expression for installable unit matching.

isMatch

boolean isMatch(IInstallableUnit iu)

isGreedy

boolean isGreedy()

Eclipse Platform
Release 3.6

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2010. All rights reserved.