java.module
Interface VisibilityPolicy

All Known Implementing Classes:
DefaultVisibilityPolicy, VisibilityPolicyFile

public interface VisibilityPolicy

This interface represents the visibility policy of the module definitions in the repository of the module system.

Since:
1.7.0
Author:
Stanley M. Ho
See Also:
ModuleDefinition, Repository

Method Summary
 boolean isVisible(ModuleDefinition moduleDef)
          Returns true if the module definition should be visible in the repository of the module system.
 

Method Detail

isVisible

boolean isVisible(ModuleDefinition moduleDef)
Returns true if the module definition should be visible in the repository of the module system. Otherwise, returns false.

Parameters:
moduleDef - the module definition.
Returns:
true if the module definition should be visible in the module system; false otherwise.