|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface SelectionPolicy
This interface represents the policy for selecting a specific export target from multiple compatible candidate export targets when the ImportSearchPolicy is trying to resolve an import target for a given module. A concrete implementation of this interface is required to create an instance of ImportSearchPolicy.
ImportSearchPolicy| Method Summary | |
|---|---|
Module |
select(Module module,
java.lang.Object identifier,
java.lang.Object version,
Module[] candidates,
CompatibilityPolicy compatPolicy)
Selects a single module to resolve the specified import from the array of compatible candidate modules. |
| Method Detail |
|---|
Module select(Module module,
java.lang.Object identifier,
java.lang.Object version,
Module[] candidates,
CompatibilityPolicy compatPolicy)
module - the module that is importing the target.identifier - the identifier of the import target.version - the version number of the import target.candidates - array of compatible candidate modules from which to choose.compatPolicy - the compatibility policy that is being used.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||