weka.core.packageManagement
Class Dependency
- java.lang.Object
-
- weka.core.packageManagement.Dependency
-
public class Dependency extends java.lang.ObjectClass that encapsulates a dependency between two packages
-
-
Constructor Summary
Constructors Constructor and Description Dependency(Package source, PackageConstraint target)Construct a new Dependency from a supplied source package and PackageConstraint containing the target package.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description PackagegetSource()Get the source package.PackageConstraintgetTarget()Get the target package constraint.voidsetSource(Package source)Set the source package.voidsetTarget(PackageConstraint target)Set the target package constraint.java.lang.StringtoString()
-
-
-
Constructor Detail
-
Dependency
public Dependency(Package source, PackageConstraint target)
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 Detail
-
setSource
public void setSource(Package source)
Set the source package.- Parameters:
source- the source package.
-
getSource
public Package getSource()
Get the source package.- Returns:
- the source package.
-
setTarget
public void setTarget(PackageConstraint target)
Set the target package constraint.- Parameters:
target- the target package (wrapped in a PackageConstraint).
-
getTarget
public PackageConstraint getTarget()
Get the target package constraint.- Returns:
- the target package (wrapped in a PackageConstraint).
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-
DataMelt 3.0 © DataMelt by jWork.ORG