Package org.alfresco.repo.module
Class ModuleDetailsImpl.ModuleDependencyImpl
java.lang.Object
org.alfresco.repo.module.ModuleDetailsImpl.ModuleDependencyImpl
- All Implemented Interfaces:
Serializable,ModuleDependency
- Enclosing class:
- ModuleDetailsImpl
public static final class ModuleDetailsImpl.ModuleDependencyImpl
extends Object
implements ModuleDependency
- Author:
- Derek Hulley
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionGet the ID of the module that this dependency describes.booleanisValidDependency(ModuleDetails moduleDetails) Check if a module satisfies the dependency requirements.toString()
-
Method Details
-
toString
-
getDependencyId
Description copied from interface:ModuleDependencyGet the ID of the module that this dependency describes. The dependency may be upon specific versions or a range of versions. Nevertheless, the module given by the returned ID will be required in one version or another.- Specified by:
getDependencyIdin interfaceModuleDependency- Returns:
- Returns the ID of the module that this depends on
-
getVersionString
- Specified by:
getVersionStringin interfaceModuleDependency- Returns:
- Returns a string representation of the versions supported
-
isValidDependency
Description copied from interface:ModuleDependencyCheck if a module satisfies the dependency requirements.- Specified by:
isValidDependencyin interfaceModuleDependency- Parameters:
moduleDetails- the module details of the dependency. This must be the details of the module with the correctID. This may be null in which case false will always be returned.- Returns:
- Returns true if the module satisfies the dependency requirements.
-