public class WSUtility extends ShellUtility
EAC_MAX_TOKEN_LENGTH, ENDECA_CONF, IS_WINDOWS, WINDOWS_MAX_PATH_LENGTH
appName, dataPrefix, eacHost, eacPort, elementId, lockManager, logDir, sslEnabled, workingDir
Constructor and Description |
---|
WSUtility(String appName,
String eacHost,
int eacPort,
boolean sslEnabled)
Default (inherited) constructor.
|
Modifier and Type | Method and Description |
---|---|
protected String |
getEmgrUpdateExecutable() |
void |
init(String token,
String commandHost,
String wsHost,
String wsPort,
String command,
String workingDir)
Web Studio command initializer.
|
buildEacStub, conditionalRun, getCommand, getHostId, init, initializeEacStub, maximumAllowedTokenLength, setCommand, setHostId
getDirContents, getMaxMissedStatusChecksAllowed, getMaxWaitTimeSeconds, getMinWaitTimeSeconds, getNonNullPositiveLongValueOrDefault, getNumMissedStatusChecks, getSlowPollingIntervalMs, getStandardPollingIntervalMs, getStatus, incrementMissedStatusQueries, initializeEacStub, isActive, isFailed, run, runInParallel, setElementId, setMaxMissedStatusQueriesAllowed, setMaxWaitSeconds, setMinWaitSeconds, setNumMissedStatusChecks, setPollingIntervalMs, setSlowPollingIntervalMs, start, stop, waitForFinished
getAppName, getDataPrefix, getEacHost, getEacPort, getElementId, getLockManager, getLogDir, getWorkingDir, isSslEnabled, setAppName, setDataPrefix, setEacHost, setEacPort, setLockManager, setLogDir, setSslEnabled, setWorkingDir
public WSUtility(String appName, String eacHost, int eacPort, boolean sslEnabled) throws AppConfigurationException
AppConfigurationException
- If the application name or EAC host is null.public void init(String token, String commandHost, String wsHost, String wsPort, String command, String workingDir)
token
- ID of the shell utility.commandHost
- ID of the host on which to execute the command.wsHost
- Hostname of machine running Web Studio.wsPort
- Port on which Web Studio is listening.command
- Command string to pass to emgr_update. For example
"--action get_ws_settings --prefix wine --dir /apps/endeca/data/forge_input"workingDir
- Working directory from which to execute the command.protected String getEmgrUpdateExecutable()
Copyright © 2014, Oracle and/or its affiliates. All rights reserved.