public class PerlScriptUtility extends PerlUtility
EAC_MAX_TOKEN_LENGTH, ENDECA_CONF, IS_WINDOWS, WINDOWS_MAX_PATH_LENGTH
appName, dataPrefix, eacHost, eacPort, elementId, lockManager, logDir, sslEnabled, workingDir
Constructor and Description |
---|
PerlScriptUtility(String appName,
String eacHost,
int eacPort,
boolean sslEnabled)
Default (inherited) constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
init(String token,
String host,
String perlScriptPath,
String workingDir)
Perl script runner initializer.
|
void |
init(String token,
String host,
String perlScriptPath,
String[] scriptArgs,
String workingDir)
Perl script runner initializer that takes an array of argument strings to pass
to the Perl script.
|
getPerlBinary
buildEacStub, conditionalRun, getCommand, getHostId, 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 PerlScriptUtility(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 host, String perlScriptPath, String workingDir)
init
in class ShellUtility
token
- ID of the shell utility.host
- ID of the host on which to execute the command.perlScriptPath
- path to the Perl Script to be executed.workingDir
- Working directory from which to execute the command.public void init(String token, String host, String perlScriptPath, String[] scriptArgs, String workingDir)
token
- ID of the shell utility.host
- ID of the host on which to execute the command.perlScriptPath
- path to the Perl Script to be executed.scriptArgs
- String array of arguments to pass to the Perl script.workingDir
- Working directory from which to execute the command.Copyright © 2014, Oracle and/or its affiliates. All rights reserved.