Uses of Class
weka.core.packageManagement.Package
-
Packages that use Package Package Description weka.core weka.core.packageManagement -
-
Uses of Package in weka.core
Methods in weka.core that return Package Modifier and Type Method Description static 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 constraintMethods in weka.core that return types with arguments of type Package Modifier and Type Method Description static List<Package>WekaPackageManager. getAllPackages()Get a list of all packagesstatic List<Package>WekaPackageManager. getAvailableCompatiblePackages()Get a list of the most recent version of all available packages (i.e.static List<Package>WekaPackageManager. getAvailablePackages()Get a list of all available packages (i.e.static List<Package>WekaPackageManager. getInstalledPackages()Get a list of installed packagesMethods in weka.core with parameters of type Package Modifier and Type Method Description static 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.Method parameters in weka.core with type arguments of type Package Modifier and Type Method Description static 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.packageManagement Modifier and Type Class Description classDefaultPackageA concrete implementation of Package that uses Java properties files/classes to manage package meta data.Methods in weka.core.packageManagement that return Package Modifier and Type Method Description PackageDefaultPackageManager. getInstalledPackageInfo(String packageName)Get package information on the named installed package.abstract PackagePackageManager. getInstalledPackageInfo(String packageName)Get package information on the named installed package.PackagePackageConstraint. getPackage()Get the package that this constraint applies to.PackageDefaultPackageManager. 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.PackageDefaultPackageManager. getRepositoryPackageInfo(String packageName)Get package information on the named package from the repository.PackageDefaultPackageManager. 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.PackageDependency. getSource()Get the source package.PackageDefaultPackageManager. 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 Package Modifier and Type Method Description List<Package>DefaultPackageManager. getAllPackages(PrintStream... progress)Get all packages that the system knows about (i.e.abstract List<Package>PackageManager. getAllPackages(PrintStream... progress)Get all packages that the system knows about (i.e.List<Package>DefaultPackageManager. getAvailablePackages()Get a list of packages that are not currently installed.abstract List<Package>PackageManager. getAvailablePackages()Get a list of packages that are not currently installed.List<Package>DefaultPackageManager. getInstalledPackages()Get a list of installed packages.abstract List<Package>PackageManager. getInstalledPackages()Get a list of installed packages.List<Package>DefaultPackage. getPrecludedPackages(List<Package> packages)Compares this package's precluded list (if any) against the list of supplied packages.abstract List<Package>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 Package Modifier and Type Method Description abstract 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.booleanPackage. equals(Package toCompare)Compare the supplied package to this package.List<Dependency>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.voidDependency. setSource(Package source)Set the source package.Method parameters in weka.core.packageManagement with type arguments of type Package Modifier and Type Method Description List<Dependency>DefaultPackage. 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.List<Dependency>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.List<Package>DefaultPackage. getPrecludedPackages(List<Package> packages)Compares this package's precluded list (if any) against the list of supplied packages.abstract List<Package>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 Package Constructor Description Dependency(Package source, PackageConstraint target)Construct a new Dependency from a supplied source package and PackageConstraint containing the target package.VersionPackageConstraint(Package p)VersionRangePackageConstraint(Package p)Constructor
-