|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.starbase.starteam.ServerConfiguration
| Field Summary | |
static int |
DBTYPE_DB2
Database type is DB2. |
static int |
DBTYPE_INFORMIX
Database type is Informix. |
static int |
DBTYPE_MSACCESS
Database type is Microsoft Access. |
static int |
DBTYPE_ORACLE
Database type is Oracle. |
static int |
DBTYPE_SQLSERVER
Database type is Microsoft SQL Server. |
static int |
DBTYPE_SYBASE
Database type is Sybase. |
static int |
DBTYPE_UNKNOWN
Database type is unknown. |
static int |
NOTIFICATION_TYPE_BOTH
Notify users both by displaying an icon in the system tray, and sending an email message. |
static int |
NOTIFICATION_TYPE_EMAIL
Notify users by sending an email message. |
static int |
NOTIFICATION_TYPE_SYSTRAY
Notify users by displaying an icon in the system tray. |
static int |
PROTOCOL_IPX
The IPX Protocol. |
static int |
PROTOCOL_LRPC
The LRPC Protocol. |
static int |
PROTOCOL_NAMED_PIPE
The Named Pipe Protocol. |
static int |
PROTOCOL_NETBIOS
The NETBIOS Protocol. |
static int |
PROTOCOL_TCP_IP_RPC
The TCP/IP (RPC) Protocol. |
static int |
PROTOCOL_TCP_IP_SOCKETS
The TCP/IP (Sockets) Protocol. |
static int |
PROTOCOL_TCP_IP_SOCKETS_XML
XML over TCP/IP Protocol. |
| Constructor Summary | |
ServerConfiguration(ServerConfiguration source)
construct a new ServerConfiguration from the source |
|
| Method Summary | |
ServerConfiguration |
copy()
return a copy of this ServerConfiguration instance |
boolean |
equals(java.lang.Object source)
returns true if this object instance is equal to the source |
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. |
java.lang.String |
getCipher()
Returns the server's cipher string. |
boolean |
getDBAutoRecovery()
Indicates whether or not the server automatically recovers from errors. |
java.lang.String |
getDBDSN()
Returns the server data source name. |
int |
getDBPooledConnections()
Returns the number of pooled connections to the server database. |
boolean |
getDBTransactionsEnabled()
Indicates whether or not database transactions are enabled. |
int |
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 |
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 |
getForeignRefreshRate()
Returns the rate at which files are refreshed from foreign archives. |
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. |
int |
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. |
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. |
int |
hashCode()
returns a unique hash for all instances of this type |
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 |
isEnhancedProcessItemsEnabledForAllProjects()
Determines whether or not the enhanced process item model is currently enabled for all projects on this server. |
boolean |
isEnhancedProcessItemsEnabledForNewProjects()
Determines whether or not the enhanced process item model is in effect by default for new projects. |
boolean |
isEqualTo(ServerConfiguration source)
returns true if this object instance is equal to the source |
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 |
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 |
setDBAutoRecovery(boolean recover)
Sets whether or not the server automatically recovers from errors. |
void |
setDBDSN(java.lang.String dsn)
Sets the server data source name. |
void |
setDBPooledConnections(int connections)
Sets the number of pooled connections to the server database. |
void |
setDBTransactionsEnabled(boolean enabled)
Sets whether or not database transactions are enabled. |
void |
setDBType(int 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 |
setEnhancedProcessItemsEnabledForAllProjects(boolean bEnabled)
Enables or disables the enhanced process item model for all projects on this server. |
void |
setEnhancedProcessItemsEnabledForNewProjects(boolean isEnabled)
Enables or disables the enhanced process item model by default for new projects. |
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 |
setForeignRefreshRate(int rate)
Sets the rate at which files are refreshed from foreign archives. |
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(int 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 |
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 |
getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int DBTYPE_UNKNOWN
ServerConfiguration.setDBType(int),
Constant Field Valuespublic static final int DBTYPE_MSACCESS
ServerConfiguration.setDBType(int),
Constant Field Valuespublic static final int DBTYPE_SQLSERVER
ServerConfiguration.setDBType(int),
Constant Field Valuespublic static final int DBTYPE_ORACLE
ServerConfiguration.setDBType(int),
Constant Field Valuespublic static final int DBTYPE_SYBASE
ServerConfiguration.setDBType(int),
Constant Field Valuespublic static final int DBTYPE_INFORMIX
ServerConfiguration.setDBType(int),
Constant Field Valuespublic static final int DBTYPE_DB2
ServerConfiguration.setDBType(int),
Constant Field Valuespublic static final int PROTOCOL_LRPC
ServerConfiguration.isProtocolAvailable(int),
ServerConfiguration.setEnabled(int, boolean),
ServerConfiguration.setEndPoint(int, String),
Constant Field Valuespublic static final int PROTOCOL_NETBIOS
ServerConfiguration.isProtocolAvailable(int),
ServerConfiguration.setEnabled(int, boolean),
ServerConfiguration.setEndPoint(int, String),
Constant Field Valuespublic static final int PROTOCOL_IPX
ServerConfiguration.isProtocolAvailable(int),
ServerConfiguration.setEnabled(int, boolean),
ServerConfiguration.setEndPoint(int, String),
Constant Field Valuespublic static final int PROTOCOL_NAMED_PIPE
ServerConfiguration.isProtocolAvailable(int),
ServerConfiguration.setEnabled(int, boolean),
ServerConfiguration.setEndPoint(int, String),
Constant Field Valuespublic static final int PROTOCOL_TCP_IP_RPC
ServerConfiguration.isProtocolAvailable(int),
ServerConfiguration.setEnabled(int, boolean),
ServerConfiguration.setEndPoint(int, String),
Constant Field Valuespublic static final int PROTOCOL_TCP_IP_SOCKETS
ServerConfiguration.isProtocolAvailable(int),
ServerConfiguration.setEnabled(int, boolean),
ServerConfiguration.setEndPoint(int, String),
Constant Field Valuespublic static final int PROTOCOL_TCP_IP_SOCKETS_XML
ServerConfiguration.isProtocolAvailable(int),
ServerConfiguration.setEnabled(int, boolean),
ServerConfiguration.setEndPoint(int, String),
Constant Field Valuespublic static final int NOTIFICATION_TYPE_SYSTRAY
ServerConfiguration.setNotifyBy(int),
Constant Field Valuespublic static final int NOTIFICATION_TYPE_EMAIL
ServerConfiguration.setNotifyBy(int),
Constant Field Valuespublic static final int NOTIFICATION_TYPE_BOTH
ServerConfiguration.setNotifyBy(int),
Constant Field Values| Constructor Detail |
public ServerConfiguration(ServerConfiguration source)
source - ServerConfiguration the ServerConfiguration to copy| Method Detail |
public ServerConfiguration copy()
public int getDBType()
public void setDBType(int type)
type - The server database type.ServerConfiguration.DBTYPE_UNKNOWN,
ServerConfiguration.DBTYPE_MSACCESS,
ServerConfiguration.DBTYPE_SQLSERVER,
ServerConfiguration.DBTYPE_ORACLE,
ServerConfiguration.DBTYPE_SYBASE,
ServerConfiguration.DBTYPE_INFORMIX,
ServerConfiguration.DBTYPE_DB2public java.lang.String getDBDSN()
public void setDBDSN(java.lang.String dsn)
dsn - The server data source name.public 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 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()
SupportedFeatures.hasReconnect()public void setReconnectTimeout(int seconds)
seconds - The server's reconnect timeout, in seconds.public boolean getNoTimeoutNamedLicenses()
SupportedFeatures.hasNoTimeoutNamedLicenses()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 int getForeignRefreshRate()
public void setForeignRefreshRate(int rate)
rate - The rate at which files are refreshed from foreign archives.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 int getNotifyBy()
public void setNotifyBy(int method)
method - The method by which notification messages are sent to StarTeam users. This property is supported by StarTeam 4.2 and later.ServerConfiguration.NOTIFICATION_TYPE_SYSTRAY,
ServerConfiguration.NOTIFICATION_TYPE_EMAIL,
ServerConfiguration.NOTIFICATION_TYPE_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 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.
SupportedFeatures.hasDiagnosticStatisticsReporting()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 boolean isEnhancedProcessItemsEnabledForNewProjects()
This method requires StarTeam server version 9.3 or later.
public void setEnhancedProcessItemsEnabledForNewProjects(boolean isEnabled)
This method requires StarTeam server version 9.3 or later.
isEnabled - true to enable the enhanced model by default for new projects;
false to disable the enhanced model.ServerConfiguration.setEnhancedProcessItemsEnabledForAllProjects(boolean),
Project.setEnhancedProcessItemsEnabled(boolean),
SupportedFeatures.hasEnhancedProcessItemsNative()public void setEnhancedProcessItemsEnabledForAllProjects(boolean bEnabled)
On StarTeam server versions 9.1 and later, this method disables the enhanced model for every existing project individually, and also disables the enhanced model for new projects.
On earlier servers, the enhanced model can only be enabled or disabled globally. Internally, this is done by enabling or disabling the TASK_USAGE_90 property, as necessary.
ServerConfiguration.setEnhancedProcessItemsEnabledForNewProjects(boolean),
Project.setEnhancedProcessItemsEnabled(boolean),
SupportedFeatures.hasEnhancedProcessItemsNative(),
PropertyNames.TASK_USAGE_90public boolean isEnhancedProcessItemsEnabledForAllProjects()
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()
getExpensiveOperationMinimumpublic void setTraceExpensiveOperations(boolean bTrace)
bTrace - whether the server will trace expensive operations.getExpensiveOperationMinimumpublic int getExpensiveOperationMinimum()
getTraceExpensiveOperationspublic void setExpensiveOperationMinimum(int milliseconds)
getTraceExpensiveOperationspublic 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 equals(java.lang.Object source)
equals in class java.lang.Objectsource - Object the source to comapre with
public boolean isEqualTo(ServerConfiguration source)
source - Object the source to comapre with
public int hashCode()
hashCode in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||