Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Copyright (c) 2006, 2008 IBM Corporation and others. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html Contributors: IBM Corporation - initial API and implementation /
package org.eclipse.osgi.service.resolver;

A specification which depends on a generic capability

Since:
3.2
Noimplement:
This interface is not intended to be implemented by clients.
public interface GenericSpecification extends VersionConstraint {
The optional resolution type

See also:
getResolution()
	public static final int RESOLUTION_OPTIONAL = 0x01;
The multiple resolution type

See also:
getResolution()
	public static final int RESOLUTION_MULTIPLE = 0x02;

Returns a matching filter used to match with a suppliers attributes

Returns:
a matching filter used to match with a suppliers attributes
Returns the type of generic specification

Returns:
the type of generic specification
	public String getType();

Returns the resolution type of the required capability. The returned value is a bit mask that may have the optional bit RESOLUTION_OPTIONAL and/or the multiple bit RESOLUTION_MULTIPLE set.

Returns:
the resolution type of the required capability
	public int getResolution();

Returns the suppliers of the capability. If the the resolution is multiple then more than one supplier may be returned

Returns:
the suppliers of the capability
New to GrepCode? Check out our FAQ X