public interface RexxCommandHandler extends RexxHandler
rexxapi.pdf documentation.
------------------------ Apache Version 2.0 license -------------------------
Copyright (C) 2012-2022 Rony G. Flatscher
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
----------------------------------------------------------------------------- | Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
version
Version string indicating version of this class (majorVersion*100+minorVersion
concatenated with a dot and the sorted date of last change.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
handleCommand(java.lang.Object slot,
java.lang.String address,
java.lang.String command)
Command handler signature (called via native code) according to the ooRexx API
documentation in
rexxpg.pdf. |
default boolean |
isRedirectable()
Indicates that the command handler is not redirectable (a new feature
in ooRexx 5.0).
|
default java.lang.String |
toString(java.lang.Object slot,
java.lang.String environmentName)
Create a string rendering of this environment handler.
|
checkCondition, clearCondition, dropContextVariable, getAllContextVariables, getCallerContext, getConditionInfo, getContextVariable, getGlobalEnvironment, getInterpreterVersion, getLanguageLevel, getLocalEnvironment, getNil, haltThread, newArray, newDirectory, newStem, newStringTable, raiseCondition, raiseException, raiseException0, raiseException1, raiseException2, setContextVariable, setContextVariableToNil, setThreadTracestatic final java.lang.String version
default boolean isRedirectable()
java.lang.Object handleCommand(java.lang.Object slot,
java.lang.String address,
java.lang.String command)
rexxpg.pdf.slot - this is an opaque Object argument which must be supplied
unchanged to the direct Rexx API methods in RexxHandleraddress - a String denoting the name of the command environment for which this
method got invokedcommand - a String containing the command passed from RexxRC (result code)default java.lang.String toString(java.lang.Object slot,
java.lang.String environmentName)
slot - supply the received slot argumentenvironmentName - supply the environment name this handler got defined for