Class DDRLibraryAdapter

java.lang.Object
com.ibm.j9ddr.libraries.DDRLibraryAdapter
All Implemented Interfaces:
LibraryAdapter

public class DDRLibraryAdapter extends Object implements LibraryAdapter
  • Constructor Details

    • DDRLibraryAdapter

      public DDRLibraryAdapter()
  • Method Details

    • getErrorMessages

      public ArrayList<String> getErrorMessages()
      Description copied from interface: LibraryAdapter
      Retrieve a list of error messages which have been produced during the library collection
      Specified by:
      getErrorMessages in interface LibraryAdapter
      Returns:
      a list of error messages as strings
    • getLibraryList

      public ArrayList<String> getLibraryList(File coreFile)
      Description copied from interface: LibraryAdapter
      Return a list of libraries which should be collected for the specified core file
      Specified by:
      getLibraryList in interface LibraryAdapter
      Parameters:
      coreFile - core file to collect the libraries for
      Returns:
      a list of paths, each of which point to a library entry
    • isLibraryCollectionRequired

      public boolean isLibraryCollectionRequired(File coreFile)
      Description copied from interface: LibraryAdapter
      Determines if library collection is required for the specified core file
      Specified by:
      isLibraryCollectionRequired in interface LibraryAdapter
      Parameters:
      coreFile - core file to analyse
      Returns:
      true if the libraries need to be collected (Linux/AIX), false if not (Windows/z/OS)