public class VerifyMedia extends BaseApp implements IfsParameters
m_currentuser, m_session
m_defaultWriter, m_logWriter, m_parametertable, m_timervalue
APPEND_LOG, DATABASE_TYPE, DATABASE_URL, DB_USER_NAME, DB_USER_PASSWORD, DOMAIN_TYPE, ENABLE_SSL_SUPPORT, FOR_SCHEMA_UPGRADE, IFS_DOMAIN_DISPLAY_NAME, IFS_DOMAIN_NAME, IFS_SCHEMA_NAME, IFS_SCHEMA_PASSWORD, IFS_SERVICE_NAME, IFS_USER_NAME, IFS_USER_PASSWORD, INCLUDE_PATH, INITIAL_CONTEXT_FACTORY, LDAP_URL_DAS_LOOKUP, LDAP_USER_NAME, LDAP_USER_PASSWORD, OUTPUT_FILE, PARAMETER_FILE, REGISTRY, SCHEMA_VERSION_KEY, SECURITY_PROTOCOL_NAME, SERVICE_CONFIGURATION_NAME
Constructor and Description |
---|
VerifyMedia(String[] args)
Creates a new VerifyMedia class given BaseApp-style arguments
specifying connection options for iFS authentication.
|
Modifier and Type | Method and Description |
---|---|
static VerifyMedia |
createInstance(String user,
String password,
String domainName,
String schemaPassword)
Creates a new VerifyMedia class given the four
parameters required for a typical iFS connection.
|
IfsException |
getReasonForFailure()
Returns the IfsException thrown if the iFS Media test fails.
|
static void |
main(String[] args)
Runs VerifyMedia from the command-line given parameters:
|
void |
run()
Empty implementation; required by subclasses of BaseApp
|
boolean |
testMedia()
Tests each media by creating a document in the Media
and then freeing the document.
|
connect, Connect, connect, Connect, Connect, Connect, connect, Connect, connect, Connect, Disconnect, getCachePerformanceString, getCleartextCredential, getCleartextCredential, getConnectionPoolPerformanceString, getConnectOptions, getConnectOptions, getConnectOptions, getLocale, showCachePerformance, showConnectionPoolPerformance
getElapsedTime, getParameterTable, initTrace, log, log, logCurrentTimestamp, printStackTrace, setTimer, showElapsedTime
public VerifyMedia(String[] args)
args
- arguments in standard BaseApp format (name=value).
See main() for more information.public static void main(String[] args)
username = [iFS user to login as]
password = [iFS user's password]
server = [iFS server to connect to]
serverpassword = [Oracle iFS user DBMS password]
args
- command-line arguments in standard BaseApp
format (name=value).public static VerifyMedia createInstance(String user, String password, String domainName, String schemaPassword)
user
- the iFS user to connect as.password
- the iFS user's password.domainName
- the iFS domain name to use.schemaPassword
- the iFS schema password.public IfsException getReasonForFailure()
public boolean testMedia() throws IfsException
IfsException
- if something goes wrong before
testing the iFS Medias.Copyright © 2023. All rights reserved.