Class MySQLCollector

    • Constructor Summary

      Constructors 
      Constructor Description
      MySQLCollector()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getName​(java.lang.String url)
      Extracts the database name from a jdbc connection string.
      boolean isApplicable​(java.lang.String url)
      Checks whether this strategy should be applied to a given connection string.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MySQLCollector

        public MySQLCollector()
    • Method Detail

      • isApplicable

        public boolean isApplicable​(java.lang.String url)
        Description copied from interface: DatabaseCollector
        Checks whether this strategy should be applied to a given connection string.
        Parameters:
        url - jdbc connection string
        Returns:
        true if this strategy should be used
      • getName

        public java.lang.String getName​(java.lang.String url)
        Description copied from interface: DatabaseCollector
        Extracts the database name from a jdbc connection string.
        Parameters:
        url - jdbc connection string
        Returns:
        name of the database