Class DataSourceInfo

java.lang.Object
psiprobe.model.DataSourceInfo

public class DataSourceInfo extends Object
POJO representing a datasource.
  • Constructor Details

    • DataSourceInfo

      public DataSourceInfo()
  • Method Details

    • getJdbcUrl

      public String getJdbcUrl()
      Gets the jdbc url.
      Returns:
      the jdbc url
    • setJdbcUrl

      public void setJdbcUrl(String jdbcUrl)
      Sets the jdbc url.
      Parameters:
      jdbcUrl - the new jdbc url
    • getBusyConnections

      public int getBusyConnections()
      Gets the busy connections.
      Returns:
      the busy connections
    • setBusyConnections

      public void setBusyConnections(int busyConnections)
      Sets the busy connections.
      Parameters:
      busyConnections - the new busy connections
    • getEstablishedConnections

      public int getEstablishedConnections()
      Gets the established connections.
      Returns:
      the established connections
    • setEstablishedConnections

      public void setEstablishedConnections(int establishedConnections)
      Sets the established connections.
      Parameters:
      establishedConnections - the new established connections
    • getMaxConnections

      public int getMaxConnections()
      Gets the max connections.
      Returns:
      the max connections
    • setMaxConnections

      public void setMaxConnections(int maxConnections)
      Sets the max connections.
      Parameters:
      maxConnections - the new max connections
    • isResettable

      public boolean isResettable()
      Checks if is resettable.
      Returns:
      true, if is resettable
    • setResettable

      public void setResettable(boolean resettable)
      Sets the resettable.
      Parameters:
      resettable - the new resettable
    • getUsername

      public String getUsername()
      Gets the username.
      Returns:
      the username
    • setUsername

      public void setUsername(String username)
      Sets the username.
      Parameters:
      username - the new username
    • getType

      public String getType()
      Gets the type.
      Returns:
      the type
    • setType

      public void setType(String type)
      Sets the type.
      Parameters:
      type - the new type
    • getBusyScore

      public int getBusyScore()
      Gets the busy score.
      Returns:
      the busy score
    • getEstablishedScore

      public int getEstablishedScore()
      Gets the established score.
      Returns:
      the established score