- java.lang.Object
-
- com.ibm.j9ddr.libraries.LibraryCollector
-
public class LibraryCollector extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LibraryCollector.CollectionType
Specifies the type of collection to use.static class
LibraryCollector.CollectorResult
Used to indicated the overall outcome when invoking the library collection process
-
Field Summary
Fields Modifier and Type Field Description static String
PUBLIC_LOGGER_NAME
-
Constructor Summary
Constructors Constructor Description LibraryCollector()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description LibraryCollector.CollectorResult
collectLibrariesFor(File coreFile, LibraryCollector.CollectionType type)
Controller for the collection process.LibraryCollector.CollectorResult
collectLibrariesFor(String coreFilePath, LibraryCollector.CollectionType type)
Start the library collection process for a given core fileLibraryCollector.CollectorResult
collectLibrariesFor(String coreFilePath, String type)
Start the library collection process for a given core filestatic void
main(String[] args)
-
-
-
Field Detail
-
PUBLIC_LOGGER_NAME
public static final String PUBLIC_LOGGER_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
main
public static void main(String[] args)
-
collectLibrariesFor
public LibraryCollector.CollectorResult collectLibrariesFor(String coreFilePath, String type)
Start the library collection process for a given core file- Parameters:
coreFilePath
- path to the core filetype
- the type of library collection to perform- Returns:
- the result of the collection
-
collectLibrariesFor
public LibraryCollector.CollectorResult collectLibrariesFor(String coreFilePath, LibraryCollector.CollectionType type)
Start the library collection process for a given core file- Parameters:
coreFilePath
- path to the core filetype
- the type of library collection to perform- Returns:
- the result of the collection
-
collectLibrariesFor
public LibraryCollector.CollectorResult collectLibrariesFor(File coreFile, LibraryCollector.CollectionType type)
Controller for the collection process.- Parameters:
coreFile
- core file to processtype
- collection type- Returns:
- collection result
-
-