public class CallPerlRule extends AbstractCommon
Perlプログラムを呼び出すためのロジッククラスです。
呼び出した先のPerlプログラムは、ロジッククラスの代わりとして実装することが出来ます。
Constant.wdgに対して下記属性を追記することができます。
InputRecord | OutputRecord |
---|---|
呼び出し先のPerlプログラムに合わせた引数を設定してください。 | 呼び出し先のPerlプログラムに合わせた返り値を設定してください。 |
Parameter |
呼び出し先のPerlファイル名。 呼び出し先のPerlプログラムに、ロジッククラスパラメータを送信したい場合は、 コロン(:)区切りで指定をします。 設定例) "DecimalCalcAdd.pl" "calculate/DeCimalCalcAdd.pl" "SetValue.pl:Hello World" |
---|
修飾子とタイプ | フィールドと説明 |
---|---|
protected static java.lang.String |
CONSTANT_AUTO_DIRECTORY_CHANGE
自動ディレクトリ変更(定数ファイルキー)
|
protected static java.lang.String |
CONSTANT_COMMAND
Perl実行コマンド(定数ファイルキー)
|
protected static java.lang.String |
CONSTANT_ENCODE
データ送受信時の文字コード(定数ファイルキー)
|
protected static java.lang.String |
CONSTANT_PREFIX |
protected static java.lang.String |
CONSTANT_ROOT_PATH
PerlファイルRootディレクトリ(定数ファイルキー)
|
protected static java.lang.String |
CONSTANT_TIMEOUT
タイムアウト時刻(定数ファイルキー)
|
controlRecord, engineManager, errorMessage, executeType, id, inputRecord, logicalName, logicClassDelegate, outputRecord, physicalName, ruleParameter, ruleType, serverParameter, userConstant
CANCEL, ERROR, EXECUTE_BOTH, EXECUTE_CLIENT, EXECUTE_DEBUG, EXECUTE_HTMLGATEWAY, EXECUTE_SERVER, EXECUTE_SERVERDC, IO_ERROR, IO_ERROR_EXECUTE_PARAMETER, IO_ERROR_IN, IO_ERROR_IO_MUST_SAME_COUNT, IO_ERROR_ITEM_TYPE, IO_ERROR_OUT, IO_ERROR_PARAMETER, NONE, OK, PARAMETER_DELIMITER, SKIP, USER_ERROR
コンストラクタと説明 |
---|
CallPerlRule() |
修飾子とタイプ | メソッドと説明 |
---|---|
int |
execute()
処理を実行。
|
void |
exit()
終了処理。
|
int |
getIOParameter()
IOパラメータ取得。
|
protected void |
setExtendsInformation(java.util.Map<java.lang.String,java.lang.String> outHeader)
結果メッセージ以外の情報について設定が必要な場合、
このメソッドを継承して実装することができます。
|
getLogicClassType, getManager, terminate
callDispose, checkDelegate, createErrorMessage, createLogicErrorLogRecord, createLogicExceptionLogRecord, createLogicLogRecord, dataClearOfOutRecord, dataClearOfRecord, dispose, executeRule, getAppAccount, getAppAuthority, getAppMenu, getAppPassword, getClassErrorName, getClientId, getConnectionId, getConnectionPoolId, getConstantKeys, getConstantValue, getConstantValueAsStringArray, getControlRecord, getDbAccessCount, getDbErrorCode, getDbErrorMessage, getDbStatus, getDbUpdatedRecordCount, getEngineManager, getErrorMessage, getErrorMessage, getErrorMessage, getExceptionMessage, getExecuteType, getId, getInputRecordIterator, getInRecord, getInRecord, getInRecord, getInRecordCount, getInRecordList, getIpAddress_G_Index, getIpAddress_P_Index, getLogicalErrorName, getLogicalName, getLogicClassDelegate, getOutputHtml, getOutputRecordIterator, getOutRecord, getOutRecord, getOutRecord, getOutRecordCount, getOutRecordList, getPhysicalErrorName, getPhysicalName, getProjectId, getQueryEndLine, getQueryMaxCount, getQueryPageCount, getQueryStartLine, getReturnString, getRowSize, getRowSizeOfInRecord, getRuleParameter, getRuleParameters, getRuleParameters, getRuleParameters, getRuleType, getRuleTypeName, getServerMessage, getServerParameter, getServerStatus, getServerSubName, getServerSubRevision, getServerTran, getUpdateErrorLine, getUpdateTargetCount, getWebServerIpAddress, isExecutable, isJDK15, log, logDebug, logError, logError, logFatal, logFatal, logInfo, logTrace, logWarn, logWarn, loopInOutRecord, loopInOutRecordSub, loopInRecord, loopInRecordSub, loopOutRecord, loopOutRecordSub, setControlRecord, setEngineManager, setErrorMessage, setErrorMessageMustInRecord, setErrorMessageMustOutRecord, setErrorMessageMustParamIsNumber, setExecuteType, setFatalError, setId, setInRecord, setLogicalName, setLogicClassDelegate, setOutputHtml, setOutRecord, setPhysicalName, setPropertyFromEngine, setRuleParameter, setRuleType, setServerParameter, setUserConstant, showErrorDialog, showErrorDialogAddRuleName, writeErrorLog, writeErrorLog, writeLog, writeLog, writeLog, writeTraceLog
protected static final java.lang.String CONSTANT_PREFIX
protected static final java.lang.String CONSTANT_COMMAND
protected static final java.lang.String CONSTANT_ROOT_PATH
protected static final java.lang.String CONSTANT_TIMEOUT
protected static final java.lang.String CONSTANT_ENCODE
protected static final java.lang.String CONSTANT_AUTO_DIRECTORY_CHANGE
public int getIOParameter() throws java.lang.Throwable
CommonInterface
execute
の前に実行される。java.lang.Throwable
CommonInterface.getIOParameter()
public int execute() throws java.lang.Throwable
CommonInterface
java.lang.Throwable
CommonInterface.execute()
protected void setExtendsInformation(java.util.Map<java.lang.String,java.lang.String> outHeader)
outHeader
- public void exit() throws java.lang.Throwable
CommonInterface
java.lang.Throwable
CommonInterface.exit()