|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.buildforge.services.client.dbo.Geo
public class Geo
This class represents a set of metadata describing a geographic database location for use with Globally Distributed Development.
Field Summary | |
---|---|
static java.lang.Class<Geo> |
CLASS
|
Method Summary | |
---|---|
static java.util.List<Geo> |
findAll(APIClientConnection conn)
Retrives all Geo objects configured in the system |
static Geo |
findById(APIClientConnection conn,
java.lang.String geoId)
Retrives a specific Geo site from the Build Forge system, by UUID |
static Geo |
findByLocation(APIClientConnection conn,
java.lang.String location)
Retrives a specific Geo site from the Build Forge system, by Location |
boolean |
getActive()
Returns whether or not this particular Geo is active (true if it is, false otherwise). |
java.lang.String |
getDatabaseName()
Returns the name of the database at this particular Geo site, i.e.: "BUILD", "MyTableSpace", etc. |
java.lang.String |
getDatabaseType()
Returns the type of the database at this particular Geo site, i.e.: "DB2", "Oracle", etc. |
java.lang.String |
getFailover()
Returns the location name of the Geo site to which this Geo site will fail over to, in the case of failure, i.e.: "MyBackupPrimaryConsole" |
java.lang.String |
getGeoId()
Returns the UUID identifier of this Geo site. |
java.lang.String |
getHostname()
Returns the hostname of the Geo site. |
java.lang.String |
getLocation()
Returns the user-specified location name for this Geo site. |
java.lang.String |
getPassword()
Returns the password to be used to authenticate to the database application at this Geo site. |
java.lang.String |
getPort()
Returns the port number on which the database application is listening at this Geo site. |
java.lang.String |
getUsername()
Returns the username to be used to authenticate to the database application at this Geo site. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.Class<Geo> CLASS
Method Detail |
---|
public static java.util.List<Geo> findAll(APIClientConnection conn) throws java.io.IOException, ServiceException
conn
- A connected and authenticated APIClientConnection
java.io.IOException
ServiceException
public static Geo findById(APIClientConnection conn, java.lang.String geoId) throws java.io.IOException, ServiceException
conn
- A connected and authenticated APIClientConnectiongeoId
- The UUID of the Geo site to be retrieved
java.io.IOException
ServiceException
public static Geo findByLocation(APIClientConnection conn, java.lang.String location) throws java.io.IOException, ServiceException
conn
- A connected and authenticated APIClientConnectionlocation
- The Location name of the Geo site to be retrieved
java.io.IOException
ServiceException
public boolean getActive()
public java.lang.String getDatabaseName()
public java.lang.String getDatabaseType()
public java.lang.String getFailover()
public java.lang.String getGeoId()
public java.lang.String getHostname()
public java.lang.String getLocation()
public java.lang.String getPassword()
public java.lang.String getPort()
public java.lang.String getUsername()
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |