public static final class ModuleDetailsImpl.ModuleDependencyImpl extends java.lang.Object implements ModuleDependency
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDependencyId()
Get the ID of the module that this dependency describes.
|
java.lang.String |
getVersionString() |
boolean |
isValidDependency(ModuleDetails moduleDetails)
Check if a module satisfies the dependency requirements.
|
java.lang.String |
toString() |
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getDependencyId()
ModuleDependencygetDependencyId in interface ModuleDependencypublic java.lang.String getVersionString()
getVersionString in interface ModuleDependencypublic boolean isValidDependency(ModuleDetails moduleDetails)
ModuleDependencyisValidDependency in interface ModuleDependencymoduleDetails - the module details of the dependency. This must be
the details of the module with the correct
ID. This may be null
in which case false will always be returned.Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.