Class JdbcDriver

  • All Implemented Interfaces:
    Iterable<JdbcDriverFile>

    @ThreadSafe
    public final class JdbcDriver
    extends Object
    implements Iterable<JdbcDriverFile>

    JDBC driver descriptor.

    Since:
    2018.1
    Author:
    Andrey Shcheglov <mailto:andrey.shcheglov@jetbrains.com>
    • Constructor Detail

      • JdbcDriver

        public JdbcDriver()
    • Method Detail

      • getName

        @Nullable
        public String getName()

        Returns the name of this driver.

        Returns:
        the name of this driver.
      • getVersion

        @Nullable
        public Version getVersion()

        Returns the version of this driver.

        Returns:
        the version of this driver.
      • getLicenseUrl

        @Nullable
        public String getLicenseUrl()

        Returns the URL of the license, or null if none is available.

        Returns:
        the URL of the license, or null if none is available.
      • getDriverNote

        @Nullable
        public String getDriverNote()

        Returns a note to show before download button.

        Returns:
        see above
      • isEmpty

        public boolean isEmpty()

        Returns true if the list of JDBC driver files is empty.

        Returns:
        true if the list of JDBC driver files is empty.
      • getFileCount

        @Nonnegative
        public int getFileCount()

        Returns the number of files this JDBC driver consists of.

        Returns:
        the number of files this JDBC driver consists of.