public class PackageManager extends Object
Constructor and Description |
---|
PackageManager(FileManager fileManager) |
Modifier and Type | Method and Description |
---|---|
void |
addPackageType(PackageType packageType)
Add a package to this package manager.
|
void |
dump()
Dump the package information to STDOUT.
|
PackageType |
getPackageType(String name)
Given the name of a package (Ex: org.apache.maven.util) obtain it from
the package manager.
|
Collection<PackageType> |
getPackageTypes()
Gets all of the packages in this package manager.
|
void |
process(Path directory) |
void |
setExcludes(String[] excludes) |
void |
setIncludes(String[] includes) |
public PackageManager(FileManager fileManager)
public PackageType getPackageType(String name)
name
- name of packagepublic void addPackageType(PackageType packageType)
packageType
- package type to addpublic Collection<PackageType> getPackageTypes()
public void process(Path directory)
public void dump()
public void setExcludes(String[] excludes)
public void setIncludes(String[] includes)
Copyright © 2002–2024 The Apache Software Foundation. All rights reserved.