public class ModuleDependency
extends java.lang.Object
| Constructor and Description |
|---|
ModuleDependency(java.lang.String name,
java.lang.String version)
Create a new instance of ModuleDependency, where the sub module is
idenfied by its name and version.
|
ModuleDependency(java.lang.String name,
java.lang.String version,
boolean shared,
boolean reexport)
Create a new instance of ModuleDependency, where the sub module is
idenfied by its name and version and wheter the containing module
requires a private copy or not
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName()
Returns the module name
|
java.lang.String |
getVersion()
Returns the module version
|
boolean |
isReexporting()
Returns true if the containing module is reexporting the public
interfaces of the sub module
|
boolean |
isShared()
Returns true if the containing module accept a shared implementation
of the sub module
|
java.lang.String |
toString()
Returns a string representation
|
public ModuleDependency(java.lang.String name,
java.lang.String version)
name - the module nameversion - the module versionpublic ModuleDependency(java.lang.String name,
java.lang.String version,
boolean shared,
boolean reexport)
name - the module nameversion - the module versionshared - true if the containing module accept a shared copypublic java.lang.String getName()
public java.lang.String getVersion()
public boolean isShared()
public boolean isReexporting()
public java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2013 Oracle Corporation. All Rights Reserved.