Uses of Class
weka.core.packageManagement.Package
Packages that use Package
-
Uses of Package in weka.core
Modifier and TypeMethodDescriptionstatic PackageWekaPackageManager.getInstalledPackageInfo(String packageName) Get meta data for an installed packagestatic PackageWekaPackageManager.getLatestCompatibleVersion(String packageName) Get the latest version of the named package that is compatible with the base version of Weka being used.static PackageWekaPackageManager.getPackageArchiveInfo(String packageArchivePath) Extract meta data from a package archivestatic PackageWekaPackageManager.getRepositoryPackageInfo(String packageName) Get meta data for the latest version of a package from the repositorystatic PackageWekaPackageManager.getRepositoryPackageInfo(String packageName, String version) Get meta data for a specific version of a package from the repositorystatic PackageWekaPackageManager.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 booleanWekaPackageLibIsolatingClassLoader.checkForMissingFiles(Package toLoad, File packageRoot, PrintStream... progress) Checks to see if there are any missing files/directories for a given package.static booleanWekaPackageManager.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 booleanWekaPackageManager.hasBeenLoaded(Package toCheck) Check to see if the named package has been loaded successfullystatic booleanWekaPackageManager.loadCheck(Package toLoad, File packageRoot, PrintStream... progress) Check whether a package should be loaded or not.static booleanWekaPackageManager.osAndArchCheck(Package toLoad, PrintStream... progress) Checks the supplied package against the current OS and architecture.static booleanWekaPackageManager.vmVersionCheck(Package toLoad, PrintStream... progress) Checks the supplied package against the JVM version running Weka.Modifier and TypeMethodDescriptionstatic booleanWekaPackageManager.installPackages(List<Package> toInstall, PrintStream... progress) Install the supplied list of packages -
Uses of Package in weka.core.packageManagement
Subclasses of Package in weka.core.packageManagementModifier and TypeClassDescriptionclassA concrete implementation of Package that uses Java properties files/classes to manage package meta data.Methods in weka.core.packageManagement that return PackageModifier and TypeMethodDescriptionDefaultPackageManager.getInstalledPackageInfo(String packageName) Get package information on the named installed package.abstract PackagePackageManager.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 PackagePackageManager.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 PackagePackageManager.getRepositoryPackageInfo(String packageName) Get package information on the named package from the repository.abstract PackagePackageManager.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 PackagePackageManager.getURLPackageInfo(URL packageURL) Get package information on the package at the given URL.Methods in weka.core.packageManagement that return types with arguments of type PackageModifier 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.Methods in weka.core.packageManagement with parameters of type PackageModifier and TypeMethodDescriptionabstract booleanPackageConstraint.checkConstraint(Package target) Check the target package against the constraint embodied in this PackageConstraint.booleanVersionPackageConstraint.checkConstraint(Package target) Check the target package against the constraint embodied in this PackageConstraint.booleanVersionRangePackageConstraint.checkConstraint(Package target) Check the target package against the constraint embodied in this PackageConstraint.booleanCompare 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.voidPackageConstraint.setPackage(Package p) Set the package that this constraint applies to.voidSet the source package.Method parameters in weka.core.packageManagement with type arguments of type PackageModifier 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.voidDefaultPackageManager.installPackages(List<Package> toInstall, PrintStream... progress) Installs all the packages in the supplied list.abstract voidPackageManager.installPackages(List<Package> toInstall, PrintStream... progress) Installs all the packages in the supplied list.Constructors in weka.core.packageManagement with parameters of type PackageModifierConstructorDescriptionDependency(Package source, PackageConstraint target) Construct a new Dependency from a supplied source package and PackageConstraint containing the target package.Constructor