Package weka.core.packageManagement
Class Dependency
java.lang.Object
weka.core.packageManagement.Dependency
Class that encapsulates a dependency between two packages
- Version:
- $Revision: 44030 $
- Author:
- mhall (mhall{[at]}pentaho{[dot]}com)
-
Constructor Summary
ConstructorDescriptionDependency
(Package source, PackageConstraint target) Construct a new Dependency from a supplied source package and PackageConstraint containing the target package. -
Method Summary
Modifier and TypeMethodDescriptionGet the source package.Get the target package constraint.void
Set the source package.void
setTarget
(PackageConstraint target) Set the target package constraint.toString()
-
Constructor Details
-
Dependency
Construct a new Dependency from a supplied source package and PackageConstraint containing the target package.- Parameters:
source
- the source package.target
- the target package (wrapped in a PackageConstraint).
-
-
Method Details
-
setSource
Set the source package.- Parameters:
source
- the source package.
-
getSource
Get the source package.- Returns:
- the source package.
-
setTarget
Set the target package constraint.- Parameters:
target
- the target package (wrapped in a PackageConstraint).
-
getTarget
Get the target package constraint.- Returns:
- the target package (wrapped in a PackageConstraint).
-
toString
-