Package jetbrains.buildServer.xstream
Class JdbcDriver
- java.lang.Object
-
- jetbrains.buildServer.xstream.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 Summary
Constructors Constructor Description JdbcDriver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDriverNote()Returns a note to show before download button.intgetFileCount()Returns the number of files this JDBC driver consists of.StringgetLicenseUrl()Returns the URL of the license, ornullif none is available.StringgetName()Returns the name of this driver.VersiongetVersion()Returns the version of this driver.booleanisEmpty()Returnstrueif the list of JDBC driver files is empty.Iterator<JdbcDriverFile>iterator()StringtoString()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
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
nullif none is available.- Returns:
- the URL of the license, or
nullif none is available.
-
getDriverNote
@Nullable public String getDriverNote()
Returns a note to show before download button.
- Returns:
- see above
-
isEmpty
public boolean isEmpty()
Returns
trueif the list of JDBC driver files is empty.- Returns:
trueif 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.
-
iterator
@NotNull public Iterator<JdbcDriverFile> iterator()
- Specified by:
iteratorin interfaceIterable<JdbcDriverFile>- See Also:
Iterable.iterator()
-
toString
@NotNull public String toString()
- Overrides:
toStringin classObject- See Also:
Object.toString()
-
-