|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.starteam.ServerConfiguration
public final class ServerConfiguration
Describes Configuration Properties of the connected StarTeam server
| Nested Class Summary | |
|---|---|
static class |
ServerConfiguration.DatabaseType
Database type used by the server |
static class |
ServerConfiguration.NotificationType
Notification type used by the server |
| Field Summary | |
|---|---|
static int |
PROTOCOL_TCP_IP_SOCKETS
The TCP/IP (Sockets) Protocol. |
| Constructor Summary | |
|---|---|
ServerConfiguration(ServerConfiguration source)
construct a new ServerConfiguration from the source |
|
| Method Summary | |
|---|---|
ServerConfiguration |
copy()
return a copy of this ServerConfiguration instance |
java.lang.String |
getAlmServiceUrl()
The location of the ALM Trace Service, if available. |
java.lang.String |
getArchiveDirectory()
Returns the path to the server's archive directory. |
java.lang.String |
getAttachmentDirectory()
Returns the path to the server's attachment directory. |
int |
getAuditsAutoPurgeDays()
Returns the number of days after which audit information is purged from the server. |
boolean |
getAuditsEnabled()
Indicates whether or not auditing is enabled on the server. |
java.lang.String |
getCacheDirectory()
Returns the path to the server's vault directory. |
boolean |
getCheckoutUseRevisionFileName()
returns true if files with different names at older revisions need to be checked out using the old file name |
java.lang.String |
getCipher()
Returns the server's cipher string. |
boolean |
getCreateCheckinChangePackage()
Returns true if checkin change packages should be created by the SDK in the absence of a process item |
boolean |
getDBAutoRecovery()
Indicates whether or not the server automatically recovers from errors. |
int |
getDBPooledConnections()
Returns the number of pooled connections to the server database. |
java.lang.String |
getDBPort()
Returns the port number that the Starteam server database is connected to. |
java.lang.String |
getDBServerName()
Returns the database server name |
java.lang.String |
getDBServiceName()
For an Oracle configuration, returns the service name for the database that the StarTeam server is connected to. |
java.lang.String |
getDBSid()
For an Oracle configuration, returns the Sid for the database that the StarTeam server is connected to. |
boolean |
getDBTransactionsEnabled()
Indicates whether or not database transactions are enabled. |
ServerConfiguration.DatabaseType |
getDBType()
Returns the server database type. |
boolean |
getDBVerifyOnStartup()
Indicates whether or not the server database is verified on startup. |
int |
getDiagnosticStatisticsReportingInterval()
Determines the frequency with which the server reports diagnostic statistics. |
boolean |
getDirectoryServiceEnabled()
Indicates whether Directory Service is enabled on this server. |
java.lang.String |
getDirectoryServiceHost()
Gets the URL to the Directory Service Host, if Directory Service is enabled. |
int |
getDirectoryServicePort()
Gets the SSL port used by Directory Service, if Directory Service is enabled. |
boolean |
getDisableCustomTools()
returns true if custom tools can be disabled, false otherwise this feature was introduced with the 14.0 server |
boolean |
getDumpAsserts()
Returns whether the server will create a diagnostic dump when unexpected conditions [i.e., asserts] are discovered. |
boolean |
getDumpErrors()
Returns whether the server will create a diagnostic dump when errors are discovered. |
int |
getDumpType()
Returns the mini dump type used for diagnostic dumps |
boolean |
getEnabled(int protocol)
Returns true if the specified protocol is enabled. |
boolean |
getEnableDiagnostics()
Indicates whether or not server diagnostics are enabled. |
IPRange[] |
getEncryptionRequirements()
Returns the required encryption levels for various ranges of TCP/IP addresses. |
java.lang.String |
getEndPoint(int protocol)
Returns the endpoint for the specified protocol. |
int |
getExpensiveOperationMinimum()
Returns the minimum number of milliseconds used to determine what is an expensive operation for tracing purposes. |
int |
getFileStatusAutoPurgeDays()
Returns the number of days after which a file's status information will be purged. |
int |
getInactivityTimeout()
Returns the server's inactivity timeout. |
java.lang.String |
getLogFile()
Returns the path to the server's log file. |
int |
getLogonTimeout()
Returns the server's logon timeout. |
boolean |
getMailEnabled()
Indicates whether or not email is enabled on the server. |
java.lang.String |
getMultiPartDirectory()
Returns the path to the server's multi-part directory. |
ServerConfiguration.NotificationType |
getNotifyBy()
Gets the method by which notification messages are sent to StarTeam users. |
boolean |
getNoTimeoutNamedLicenses()
Gets the server's "NoTimeoutNamedLicenses" setting for servers 7.0 and later. |
int |
getReconnectTimeout()
Gets the server's reconnect timeout. |
java.lang.String |
getRepositoryPath()
Returns the path to the server's data repository. |
java.lang.String |
getServerGUID()
Returns the server's globally unique identifier. |
java.lang.String |
getSMTPAddress()
Gets the SMTP address of the mail server that handles outbound email requests for this StarTeam server. |
int |
getSMTPPort()
Gets the SMTP port of the mail server that handles outbound email requests for this StarTeam server. |
java.lang.String |
getStarteamAgileWebAddress()
Returns the Starteam Agile web address. |
boolean |
getStopServerOnErrors()
Indicates whether or not the server automatically stops after an error. |
boolean |
getTraceExpensiveOperations()
Returns whether the server will trace expensive operations. |
boolean |
getUsingSecureDirectoryService()
Gets the server's "Using Secure Directory Service (LDAPS)" value for servers 7.0 and later. |
int |
getVaultCacheMaxSize()
Returns the server's vault cache size limit. |
int |
getVaultCacheRefreshInterval()
Returns the server's vault cache refresh interval. |
java.lang.String |
getVaultDirectory()
Returns the path to the server's vault directory. |
int |
getVaultLockTimeLimit()
Returns the server's vault lock time limit. |
boolean |
isAdvancedViewsDisabled()
Returns whether the server is configured to disable advanced views. |
boolean |
isAtomicTransactionsDisabled()
Returns whether the server is configured to disable atomic transactions. |
boolean |
isEqualTo(ServerConfiguration source)
returns true if the Object passed in is a ServerConfiguration instance, with the same set of values as this ServerConfiguration instance |
boolean |
isMultiCommandTransactionsDisabled()
Returns true if multi-command transactions are disabled at runtime This feature is used for non-transactional vcm commits executed strictly in an administrative context If a vcm commit session discovers that atomic transactions are indeed disabled it will immediately re-enable them in the server (at required administrative privilege) and then honor the setting by running the commit without enabling multi-command transactions |
boolean |
isProtocolAvailable(int protocol)
Returns true if the server supports the specified protocol. |
void |
setAdvancedViewsDisabled(boolean bDisabled)
Set whether the server is configured to disable advanced views. |
void |
setAlmServiceUrl(java.lang.String location)
Sets the location of the ALM Trace Service. |
void |
setArchiveDirectory(java.lang.String directory)
Sets the path to the server's archive directory. |
void |
setAtomicTransactionsDisabled(boolean bDisabled)
Set whether the server is configured to disable atomic transactions. |
void |
setAttachmentDirectory(java.lang.String directory)
Sets the path to the server's attachment directory. |
void |
setAuditsAutoPurgeDays(int days)
Sets the number of days after which audit information is purged from the server. |
void |
setAuditsEnabled(boolean enable)
Sets whether or not auditing is enabled on the server. |
void |
setCacheDirectory(java.lang.String directory)
Sets the path to the server's vault directory. |
void |
setCipher(java.lang.String cipher)
Sets the server's cipher string. |
void |
setCreateCheckinChangePackage(boolean createCCP)
Set to true to always create checkin change packages (even in the absence of a process item) This property was introduced on 12.0+ servers |
void |
setDBAutoRecovery(boolean recover)
Sets whether or not the server automatically recovers from errors. |
void |
setDBPooledConnections(int connections)
Sets the number of pooled connections to the server database. |
void |
setDBPort(java.lang.String dbPort)
Sets the port number of the Starteam server database |
void |
setDBServerName(java.lang.String dbServerName)
Sets the database server name. |
void |
setDBServiceName(java.lang.String dbServiceName)
For an Oracle configuration, sets the service name for the database that the StarTeam server is connected to. |
void |
setDBSid(java.lang.String dbSid)
For an Oracle configuration, sets the sid for the database that the StarTeam server is connected to. |
void |
setDBTransactionsEnabled(boolean enabled)
Sets whether or not database transactions are enabled. |
void |
setDBType(ServerConfiguration.DatabaseType type)
Sets the server database type. |
void |
setDBVerifyOnStartup(boolean verify)
Sets whether or not the server database is verified on startup. |
void |
setDiagnosticStatisticsReportingInterval(int nSeconds)
Configures the server to reporting diagnostic statistics with the given frequency. |
void |
setDirectoryServiceEnabled(boolean bEnable)
Sets Directory Service enabled or disabled on this server. |
void |
setDirectoryServiceHost(java.lang.String host)
Sets the Directory Service host address, if Directory Service is enabled. |
void |
setDirectoryServicePort(int port)
Sets the Directory Service SSL port, if Directory Service is enabled. |
void |
setDumpAsserts(boolean bDump)
Set whether the server will create a diagnostic dump when unexpected conditions [i.e., asserts] are discovered. |
void |
setDumpErrors(boolean bDump)
Set whether the server will create a diagnostic dump when errors are discovered. |
void |
setDumpType(int miniDumpType)
Set the Dump Type used for a subsequent Diagnsotic Dump |
void |
setEnabled(int protocol,
boolean enabled)
Enable or disable the specified communication procotol. |
void |
setEnableDiagnostics(boolean enable)
Sets whether or not server diagnostics are enabled. |
void |
setEncryptionRequirements(IPRange[] ranges)
Sets the required encryption levels for various ranges of TCP/IP addresses. |
void |
setEndPoint(int protocol,
java.lang.String endpoint)
Modifies the specified protocol's endpoint. |
void |
setExpensiveOperationMinimum(int milliseconds)
Set the minimum number of milliseconds used to determine what is an expensive operation for tracing purposes. |
void |
setFileStatusAutoPurgeDays(int days)
Sets the number of days after which a file's status information will be purged. |
void |
setInactivityTimeout(int seconds)
Sets the server's inactivity timeout. |
void |
setLogFile(java.lang.String systemLog)
Sets the path to the server's log file. |
void |
setLogonTimeout(int seconds)
Sets the server's logon timeout. |
void |
setMailEnabled(boolean enable)
Sets whether or not email is enabled on the server. |
void |
setMultiPartDirectory(java.lang.String directory)
Sets the path to the server's multi-part directory. |
void |
setNotifyBy(ServerConfiguration.NotificationType method)
Sets the method by which notification messages are sent to StarTeam users. |
void |
setNoTimeoutNamedLicenses(boolean enable)
Sets the server's "NoTimeoutNamedLicenses" value for servers 7.0 and later. |
void |
setReconnectTimeout(int seconds)
Sets the server's reconnect timeout. |
void |
setRepositoryPath(java.lang.String path)
Sets the path to the server's data repository. |
void |
setServerGUID(java.lang.String guid)
Sets the server's globally unique identifier. |
void |
setSMTPAddress(java.lang.String address)
Sets the SMTP address of the mail server that handles outbound email requests for this StarTeam server. |
void |
setSMTPPort(int port)
Sets the SMTP port of the mail server that handles outbound email requests for this StarTeam server. |
void |
setStarteamAgileWebAddress(java.lang.String agileWebAddress)
Sets the Starteam Agile web address. |
void |
setStopServerOnErrors(boolean stop)
Sets whether or not the server automatically stops after an error. |
void |
setTraceExpensiveOperations(boolean bTrace)
Set whether the server will trace expensive operations. |
void |
setUsingSecureDirectoryService(boolean useSecureDirectoryService)
Sets the server's "Using Secure Directory Service (LDAPS)" value for servers 7.0 and later. |
void |
setVaultCacheMaxSize(int megs)
Sets the server's vault cache size limit. |
void |
setVaultCacheRefreshInterval(int seconds)
Sets the server's vault cache refresh interval. |
void |
setVaultDirectory(java.lang.String directory)
Sets the path to the server's vault directory. |
void |
setVaultLockTimeLimit(int seconds)
Sets the server's vault lock time limit. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int PROTOCOL_TCP_IP_SOCKETS
ServerConfiguration.isProtocolAvailable(int),
ServerConfiguration.setEnabled(int, boolean),
ServerConfiguration.setEndPoint(int, String),
Constant Field Values| Constructor Detail |
|---|
public ServerConfiguration(ServerConfiguration source)
source - ServerConfiguration the ServerConfiguration to copy| Method Detail |
|---|
public ServerConfiguration copy()
public boolean isEqualTo(ServerConfiguration source)
source - Object another instance of a ServerConfiguration object
public ServerConfiguration.DatabaseType getDBType()
public void setDBType(ServerConfiguration.DatabaseType type)
type - The server database type.ServerConfiguration.DatabaseType.UNKNOWN,
ServerConfiguration.DatabaseType.SQL_SERVER,
ServerConfiguration.DatabaseType.ORACLEpublic java.lang.String getDBServerName()
public void setDBServerName(java.lang.String dbServerName)
dbServerName - The database server namepublic int getDBPooledConnections()
public void setDBPooledConnections(int connections)
connections - The number of pooled connections to the server database.public boolean getDBTransactionsEnabled()
public void setDBTransactionsEnabled(boolean enabled)
enabled - true if database transactions are enabled.public java.lang.String getServerGUID()
public void setServerGUID(java.lang.String guid)
guid - The server's globally unique identifier.public java.lang.String getCipher()
public void setCipher(java.lang.String cipher)
cipher - The server's cipher string.public java.lang.String getLogFile()
public void setLogFile(java.lang.String systemLog)
systemLog - The path to the server's log file.public java.lang.String getRepositoryPath()
public void setRepositoryPath(java.lang.String path)
path - The path to the server's data repository.public java.lang.String getDBPort()
public void setDBPort(java.lang.String dbPort)
dbPort - Port number of the server databasepublic java.lang.String getDBServiceName()
public void setDBServiceName(java.lang.String dbServiceName)
dbServiceName - Service name for the server databasepublic java.lang.String getDBSid()
public void setDBSid(java.lang.String dbSid)
dbSid - Sid of the Starteam server databasepublic boolean getEnableDiagnostics()
public void setEnableDiagnostics(boolean enable)
enable - true if server diagnostics are enabled.public int getLogonTimeout()
public void setLogonTimeout(int seconds)
seconds - The server's logon timeout, in seconds.public int getInactivityTimeout()
public void setInactivityTimeout(int seconds)
seconds - The server's inactivity timeout, in seconds.public int getReconnectTimeout()
public void setReconnectTimeout(int seconds)
seconds - The server's reconnect timeout, in seconds.public boolean getNoTimeoutNamedLicenses()
public void setNoTimeoutNamedLicenses(boolean enable)
enable - True or False to set the server's processing for Named
Licenses.public java.lang.String getVaultDirectory()
public void setVaultDirectory(java.lang.String directory)
directory - The path to the server's vault directory.public java.lang.String getCacheDirectory()
public void setCacheDirectory(java.lang.String directory)
directory - The path to the server's vault directory.public java.lang.String getArchiveDirectory()
public void setArchiveDirectory(java.lang.String directory)
directory - The path to the server's archive directory.public java.lang.String getMultiPartDirectory()
public void setMultiPartDirectory(java.lang.String directory)
directory - The path to the server's multi-part directory.public int getVaultLockTimeLimit()
public void setVaultLockTimeLimit(int seconds)
seconds - The server's vault lock time limit, in seconds.public int getVaultCacheMaxSize()
public void setVaultCacheMaxSize(int megs)
megs - The server's vault cache size limit, in megabytes.public int getVaultCacheRefreshInterval()
public void setVaultCacheRefreshInterval(int seconds)
seconds - The server's vault cache refresh interval, in seconds.public int getFileStatusAutoPurgeDays()
public void setFileStatusAutoPurgeDays(int days)
days - The number of days after which a file's status information
will be purged.public boolean getDBVerifyOnStartup()
public void setDBVerifyOnStartup(boolean verify)
verify - true if the server database is verified on startup. This
property is supported by StarTeam 4.1 and later.public boolean getDBAutoRecovery()
public void setDBAutoRecovery(boolean recover)
recover - true if the server automatically recovers from errors. This
property is supported by StarTeam 4.1 and later.public boolean getStopServerOnErrors()
public void setStopServerOnErrors(boolean stop)
stop - true if the server automatically stops after an error. This
property is supported by StarTeam 4.1 and later.public java.lang.String getAttachmentDirectory()
public void setAttachmentDirectory(java.lang.String directory)
directory - The path to the server's attachment directory.public boolean getMailEnabled()
public void setMailEnabled(boolean enable)
enable - true if email is enabled on the server.public java.lang.String getSMTPAddress()
public void setSMTPAddress(java.lang.String address)
address - The SMTP address of the mail server that handles outbound
email requests for this StarTeam server. This property is
supported by StarTeam 4.2 and later.public int getSMTPPort()
public void setSMTPPort(int port)
port - The SMTP port of the mail server that handles outbound email
requests for this StarTeam server. This property is supported
by StarTeam 4.2 and later.public ServerConfiguration.NotificationType getNotifyBy()
public void setNotifyBy(ServerConfiguration.NotificationType method)
method - The method by which notification messages are sent to StarTeam
users. This property is supported by StarTeam 4.2 and later.ServerConfiguration.NotificationType.SYS_TRAY,
ServerConfiguration.NotificationType.EMAIL,
ServerConfiguration.NotificationType.BOTHpublic boolean getDirectoryServiceEnabled()
public void setDirectoryServiceEnabled(boolean bEnable)
bEnable - true to enable Directory Service, false to disable.public java.lang.String getDirectoryServiceHost()
public void setDirectoryServiceHost(java.lang.String host)
host - the host name or IP Address of the Directory Service host.public int getDirectoryServicePort()
public void setDirectoryServicePort(int port)
port - the SSL port used by the Directory Service.public boolean getUsingSecureDirectoryService()
public void setUsingSecureDirectoryService(boolean useSecureDirectoryService)
useSecureDirectoryService - TRUE to use secure directory service, FALSE otherwise.public boolean getAuditsEnabled()
public void setAuditsEnabled(boolean enable)
enable - true if auditing is enabled on the server.public int getAuditsAutoPurgeDays()
public void setAuditsAutoPurgeDays(int days)
days - The number of days after which audit information is purged
from the server.
public void setEnabled(int protocol,
boolean enabled)
protocol - the protocol identifierenabled - true if the protocol should be enabledpublic boolean getEnabled(int protocol)
protocol - the protocol identifier
public void setEndPoint(int protocol,
java.lang.String endpoint)
protocol - the protocol identifierendpoint - the new endpoint for the specified protocolpublic java.lang.String getEndPoint(int protocol)
protocol - the protocol identifierpublic boolean isProtocolAvailable(int protocol)
protocol - the protocol identifierpublic IPRange[] getEncryptionRequirements()
public void setEncryptionRequirements(IPRange[] ranges)
ranges - the new IP range/required encryption entries.public boolean getTraceExpensiveOperations()
ServerConfiguration.getExpensiveOperationMinimum()public void setTraceExpensiveOperations(boolean bTrace)
bTrace - whether the server will trace expensive operations.ServerConfiguration.getExpensiveOperationMinimum()public int getExpensiveOperationMinimum()
ServerConfiguration.getTraceExpensiveOperations()public void setExpensiveOperationMinimum(int milliseconds)
milliseconds - ServerConfiguration.getTraceExpensiveOperations()public boolean getDumpAsserts()
public void setDumpAsserts(boolean bDump)
bDump - whether the server create a diagnostic dump when asserts are
discovered.public boolean getDumpErrors()
public void setDumpErrors(boolean bDump)
bDump - whether the server create a diagnostic dump when errors are
discovered.public int getDumpType()
public void setDumpType(int miniDumpType)
miniDumpType - int the mini dump type value to setpublic boolean getCreateCheckinChangePackage()
public void setCreateCheckinChangePackage(boolean createCCP)
createCCP - true to always create checkin change packagespublic java.lang.String getAlmServiceUrl()
This setting is ignored by StarTeam server versions prior to StarTeam Server 2008 R2.
public boolean getDisableCustomTools()
public boolean getCheckoutUseRevisionFileName()
public void setAlmServiceUrl(java.lang.String location)
This setting is ignored by StarTeam server versions prior to StarTeam Server 2008 R2.
location - the location of the ALM Trace Service.public boolean isMultiCommandTransactionsDisabled()
ServerConfiguration.isAtomicTransactionsDisabled()public boolean isAtomicTransactionsDisabled()
public void setAtomicTransactionsDisabled(boolean bDisabled)
bDisabled - whether the server is configured to disable atomic
transactions.public boolean isAdvancedViewsDisabled()
public void setAdvancedViewsDisabled(boolean bDisabled)
bDisabled - whether the server is configured to disable advanced views.public int getDiagnosticStatisticsReportingInterval()
This setting is ignored by StarTeam server versions prior to 10.4.
public void setDiagnosticStatisticsReportingInterval(int nSeconds)
This setting is ignored by StarTeam server versions prior to 10.4.
nSeconds - The frequency, in seconds, with which the server will report
diagnostic statistics. The default value is zero, which
disables reporting.public java.lang.String getStarteamAgileWebAddress()
This setting is introduced in Starteam Server version 13.0
public void setStarteamAgileWebAddress(java.lang.String agileWebAddress)
agileWebAddress - The Starteam Agile Web Server address.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||