Uses of Class
weka.core.packageManagement.Package
-
Uses of Package in weka.core
Modifier and TypeMethodDescriptionstatic Package
WekaPackageManager.getInstalledPackageInfo
(String packageName) Get meta data for an installed packagestatic Package
WekaPackageManager.getLatestCompatibleVersion
(String packageName) Get the latest version of the named package that is compatible with the base version of Weka being used.static Package
WekaPackageManager.getPackageArchiveInfo
(String packageArchivePath) Extract meta data from a package archivestatic Package
WekaPackageManager.getRepositoryPackageInfo
(String packageName) Get meta data for the latest version of a package from the repositorystatic Package
WekaPackageManager.getRepositoryPackageInfo
(String packageName, String version) Get meta data for a specific version of a package from the repositorystatic Package
WekaPackageManager.mostRecentVersionWithRespectToConstraint
(PackageConstraint toCheck) Find the most recent version of the package encapsulated in the supplied PackageConstraint argument that satisfies the constraintModifier and TypeMethodDescriptionWekaPackageManager.getAllPackages()
Get a list of all packagesWekaPackageManager.getAvailableCompatiblePackages()
Get a list of the most recent version of all available packages (i.e.WekaPackageManager.getAvailablePackages()
Get a list of all available packages (i.e.WekaPackageManager.getInstalledPackages()
Get a list of installed packagesModifier and TypeMethodDescriptionstatic boolean
WekaPackageLibIsolatingClassLoader.checkForMissingFiles
(Package toLoad, File packageRoot, PrintStream... progress) Checks to see if there are any missing files/directories for a given package.static boolean
WekaPackageManager.checkForMissingFiles
(Package toLoad, File packageRoot, PrintStream... progress) Checks to see if there are any missing files/directories for a given package.static List<Dependency>
WekaPackageManager.getAllDependenciesForPackage
(Package target, Map<String, List<Dependency>> conflicts) Get a list of dependencies for a given packagestatic boolean
WekaPackageManager.hasBeenLoaded
(Package toCheck) Check to see if the named package has been loaded successfullystatic boolean
WekaPackageManager.loadCheck
(Package toLoad, File packageRoot, PrintStream... progress) Check whether a package should be loaded or not.static boolean
WekaPackageManager.osAndArchCheck
(Package toLoad, PrintStream... progress) Checks the supplied package against the current OS and architecture.static boolean
WekaPackageManager.vmVersionCheck
(Package toLoad, PrintStream... progress) Checks the supplied package against the JVM version running Weka.Modifier and TypeMethodDescriptionstatic boolean
WekaPackageManager.installPackages
(List<Package> toInstall, PrintStream... progress) Install the supplied list of packages -
Uses of Package in weka.core.packageManagement
Modifier and TypeClassDescriptionclass
A concrete implementation of Package that uses Java properties files/classes to manage package meta data.Modifier and TypeMethodDescriptionDefaultPackageManager.getInstalledPackageInfo
(String packageName) Get package information on the named installed package.abstract Package
PackageManager.getInstalledPackageInfo
(String packageName) Get package information on the named installed package.PackageConstraint.getPackage()
Get the package that this constraint applies to.DefaultPackageManager.getPackageArchiveInfo
(String packageArchivePath) Get package information from the supplied package archive file.abstract Package
PackageManager.getPackageArchiveInfo
(String packageArchivePath) Get package information from the supplied package archive file.DefaultPackageManager.getRepositoryPackageInfo
(String packageName) Get package information on the named package from the repository.DefaultPackageManager.getRepositoryPackageInfo
(String packageName, Object version) Get package information on the named package from the repository.abstract Package
PackageManager.getRepositoryPackageInfo
(String packageName) Get package information on the named package from the repository.abstract Package
PackageManager.getRepositoryPackageInfo
(String packageName, Object version) Get package information on the named package from the repository.Dependency.getSource()
Get the source package.DefaultPackageManager.getURLPackageInfo
(URL packageURL) Get package information on the package at the given URL.abstract Package
PackageManager.getURLPackageInfo
(URL packageURL) Get package information on the package at the given URL.Modifier and TypeMethodDescriptionDefaultPackageManager.getAllPackages
(PrintStream... progress) Get all packages that the system knows about (i.e.PackageManager.getAllPackages
(PrintStream... progress) Get all packages that the system knows about (i.e.DefaultPackageManager.getAvailablePackages()
Get a list of packages that are not currently installed.PackageManager.getAvailablePackages()
Get a list of packages that are not currently installed.DefaultPackageManager.getInstalledPackages()
Get a list of installed packages.PackageManager.getInstalledPackages()
Get a list of installed packages.DefaultPackage.getPrecludedPackages
(List<Package> packages) Compares this package's precluded list (if any) against the list of supplied packages.Package.getPrecludedPackages
(List<Package> packages) Compares this package's precluded list (if any) against the list of supplied packages.Modifier and TypeMethodDescriptionabstract boolean
PackageConstraint.checkConstraint
(Package target) Check the target package against the constraint embodied in this PackageConstraint.boolean
VersionPackageConstraint.checkConstraint
(Package target) Check the target package against the constraint embodied in this PackageConstraint.boolean
VersionRangePackageConstraint.checkConstraint
(Package target) Check the target package against the constraint embodied in this PackageConstraint.boolean
Compare the supplied package to this package.DefaultPackageManager.getAllDependenciesForPackage
(Package target, Map<String, List<Dependency>> conflicts) Gets a full list of packages (encapsulated in Dependency objects) that are required by directly and indirectly by the named target package.abstract List<Dependency>
PackageManager.getAllDependenciesForPackage
(Package target, Map<String, List<Dependency>> conflicts) Gets a full list of packages (encapsulated in Dependency objects) that are required by directly and indirectly by the named target package.void
PackageConstraint.setPackage
(Package p) Set the package that this constraint applies to.void
Set the source package.Modifier and TypeMethodDescriptionDefaultPackage.getIncompatibleDependencies
(List<Package> packages) Gets those packages from the supplied list that this package depends on and are currently incompatible with this package.abstract List<Dependency>
Package.getIncompatibleDependencies
(List<Package> packages) Gets those packages from the supplied list that this package depends on and are currently incompatible with this package.DefaultPackage.getMissingDependencies
(List<Package> packages) Gets a list of packages that this package depends on that are not in the supplied list of packages.abstract List<Dependency>
Package.getMissingDependencies
(List<Package> packages) Gets a list of packages that this package depends on that are not in the supplied list of packages.DefaultPackage.getPrecludedPackages
(List<Package> packages) Compares this package's precluded list (if any) against the list of supplied packages.Package.getPrecludedPackages
(List<Package> packages) Compares this package's precluded list (if any) against the list of supplied packages.void
DefaultPackageManager.installPackages
(List<Package> toInstall, PrintStream... progress) Installs all the packages in the supplied list.abstract void
PackageManager.installPackages
(List<Package> toInstall, PrintStream... progress) Installs all the packages in the supplied list.ModifierConstructorDescriptionDependency
(Package source, PackageConstraint target) Construct a new Dependency from a supplied source package and PackageConstraint containing the target package.Constructor