public class GXBaseObjectConstants extends Object
Modifier and Type | Field and Description |
---|---|
static String |
ANY_IDENTIFIED_SCREEN
This constant should be used when adding a wait condition which should wait for any identified screen
Sample code:
if (gx_session.getScreen().getName().equals("UNKNOWN")){ |
static int |
GX_FIELD_ADJUST_LEFT |
static int |
GX_FIELD_ADJUST_NONE |
static int |
GX_FIELD_ADJUST_RIGHT |
static int |
GX_FIELD_ADJUST_RIGHT_BLANK_FILL |
static int |
GX_FIELD_ADJUST_RIGHT_ZERO_FILL |
static int |
GX_FIELD_COLOR_AQUA |
static int |
GX_FIELD_COLOR_BLACK |
static int |
GX_FIELD_COLOR_BLUE |
static int |
GX_FIELD_COLOR_BROWN |
static int |
GX_FIELD_COLOR_GRAY |
static int |
GX_FIELD_COLOR_GREEN |
static int |
GX_FIELD_COLOR_LIGHT_AQUA |
static int |
GX_FIELD_COLOR_LIGHT_BLUE |
static int |
GX_FIELD_COLOR_LIGHT_GREEN |
static int |
GX_FIELD_COLOR_LIGHT_PURPLE |
static int |
GX_FIELD_COLOR_LIGHT_RED |
static int |
GX_FIELD_COLOR_LIGHT_WHITE |
static int |
GX_FIELD_COLOR_NONE |
static int |
GX_FIELD_COLOR_PINK |
static int |
GX_FIELD_COLOR_RED |
static int |
GX_FIELD_COLOR_WHITE |
static int |
GX_FIELD_COLOR_YELLOW |
static int |
GX_FIELD_DATA_TYPE_ALPHA_ONLY |
static int |
GX_FIELD_DATA_TYPE_ALPHANUMERIC |
static int |
GX_FIELD_DATA_TYPE_DBCS_CAN_CREATE_SISO |
static int |
GX_FIELD_DATA_TYPE_DBCS_ONLY |
static int |
GX_FIELD_DATA_TYPE_DIGITS_ONLY |
static int |
GX_FIELD_DATA_TYPE_KATAKANA_SHIFT |
static int |
GX_FIELD_DATA_TYPE_NUMERIC |
static int |
GX_FIELD_DATA_TYPE_REVERSED |
static int |
GX_FIELD_DATA_TYPE_SIGNED_NUMERIC |
static String |
GX_VAR_APPLICATION_LANGUAGE
The language configured for the application used by the current session.
|
static String |
GX_VAR_APPLY_TRANSFORMATIONS
Indicates if transformations should be applied to the next screen requested.
|
static String |
GX_VAR_AS400_KERBEROS_ENCODING |
static String |
GX_VAR_AS400_KERBEROS_SERVICES_TICKET
Determines the name of the kerberos services ticket.
|
static String |
GX_VAR_AS400_LIBRARY
Determines the name of the current AS400 Library.
|
static String |
GX_VAR_AS400_MENU
Determines the name of the initial AS400 menu.
|
static String |
GX_VAR_AS400_PASSWORD
Determines the name of the current substitute password.
|
static String |
GX_VAR_AS400_PROGRAM
Determines the name of the AS400 program to call.
|
static String |
GX_VAR_AS400_STARTUP_RESPONSE |
static String |
GX_VAR_AS400_USERNAME
Determines the name of the user profile name.
|
static Object |
GX_VAR_CUT_CONTENT_TO_MATCH_HOST_FIELD
Indicates whether or not to cut the content when it's size is bigger of than the host field
|
static String |
GX_VAR_DEVICE_NAME
The device name to be used in the current session.
|
static String |
GX_VAR_DEVICE_TYPE
The device type to be used in the current session.
|
static String |
GX_VAR_DISPLAY_HIDDEN_FIELDS
Indicates whether or not to retrieve the contents of hidden fields.
|
static String |
GX_VAR_ENCODING_LOGICAL
Indicates that data should be converted from Visual to
Logical.
|
static String |
GX_VAR_FIELDS_WITH_SUGGESTED_NAMES |
static String |
GX_VAR_HEALTH_CHECK_CONNECTION
Define the connection as a healthcheck (currently supported only on Natural for Open System)
In case the of Healthcheck connection you will get a status of the apxsrvd process, natapx and adabas db when specifying db id
GX_VAR_HEALTH_CHECK_CONNECTION_DBID
Possible values: true , false . |
static String |
GX_VAR_HEALTH_CHECK_CONNECTION_DBID
Define the Ababas DB ID to check when doing
GX_VAR_HEALTH_CHECK_CONNECTION
Should not be defined if natural is not connected to Adabas. |
static String |
GX_VAR_HOST_ADDRESS
The host IP address.
|
static String |
GX_VAR_HOST_PORT
The host's port address.
|
static String |
GX_VAR_HOST_WINDOW_ENABLED
Indicates that the host window should be ignored in the current
screen.
|
static String |
GX_VAR_INCLUDE_HOST_FIELDS
Indicates whether to retrieve host fields as well as application fields or just application fields.
|
static String |
GX_VAR_NATURAL_DATA_TRANSFER_DELIMITER
Relevant when downloading CSV files, determines the delimiter to be used.
|
static String |
GX_VAR_NATURAL_DATA_TRANSFER_HEADERS_USED
Determines whether to print the name of the field as the column header.
|
static String |
GX_VAR_NATURAL_DATA_TRANSFER_STREAM
Determines whether to stream the download file from the host through the server to the client or download the file as a whole.
|
static String |
GX_VAR_NATUX_OPTIONAL_CUSTOM_INFO
used to pass additional parameters to the apx.sh in the CUSTOM variable
|
static String |
GX_VAR_REMOVE_CHARACTER
Indicates that the character configured to be removed should be removed.
|
static String |
GX_VAR_REMOVE_CHARACTER_BOTH_SIDES
Indicates that the character configured to be removed should be removed from both sides of fields.
|
static String |
GX_VAR_REPLAY_DELAY
Replay delay.
|
static String |
GX_VAR_REPLAY_FILE
The replay file configured for the current session.
|
static String |
GX_VAR_RETURN_FIELDS
Indicates whether the fields should be returned
Used with the
GXMessageActions#ACTION_SESSION_GET_SCREEN request. |
static String |
GX_VAR_RETURN_SCREEN_BUFFERS
Indicates which buffer types should be returned in the screen object.
|
static String |
GX_VAR_SCREEN_DIRECTION
The current screen direction of the application.
|
static String |
GX_VAR_THROW_EXCEPTION_ON_INVALID_INPUT
Indicates whether or not to throw an exception if an invalid input was sent to a field
|
static String |
GX_VAR_TRACE_FILE
The trace file configured for the current session.
|
static String |
GX_VAR_TRANSLATION_LANGUAGE
The translation language used by the current session.
|
static String |
GX_VAR_TRIM_FIELDS
Variable indicating which fields should be trimmed.
|
static String |
GX_VAR_TRIM_MODE
Variable indicating the trimming mode of fields.
|
static String |
GX_VAR_UPPERCASE_INPUT
Flag to turn all data sent to the host to uppercase.
|
static String |
GX_VAR_VAL_BUFFERS_FIELD_ATTRIBUTES
Three field attribute buffers are returned: field attributes,
extended field attributes and field color attributes.
|
static String |
GX_VAR_VAL_BUFFERS_NONE
No screen buffers are returned.
|
static String |
GX_VAR_VAL_BUFFERS_SCREEN_DATA
Screen data buffer (the fields' content) is returned.
|
static String |
GX_VAR_VAL_REMOVE_CHARACTER_ALL
The character to be removed should be removed from all fields including input fields and labels.
|
static String |
GX_VAR_VAL_REMOVE_CHARACTER_BOTH_SIDES_ALL_FIELDS
Removes character from both sides of all fields.
|
static String |
GX_VAR_VAL_REMOVE_CHARACTER_BOTH_SIDES_NUMERIC_FIELDS_ONLY
Removes character from both sides of numeric fields only.
|
static String |
GX_VAR_VAL_REMOVE_CHARACTER_INPUT
The character to be removed should be removed only from input fields.
|
static String |
GX_VAR_VAL_REMOVE_CHARACTER_NONE
The character to be removed should not be removed.
|
static String |
GX_VAR_VAL_REPLAY_DELAY_NO_DELAY
Run replay as fast as possible.
|
static String |
GX_VAR_VAL_REPLAY_DELAY_SIMULATE_HOST
Run replay as recorded by host.
|
static String |
GX_VAR_VAL_SCREEN_DIRECTION_LTR
Screen direction is left to right.
|
static String |
GX_VAR_VAL_SCREEN_DIRECTION_RTL
Screen direction is right to left.
|
static String |
GX_VAR_VAL_TRIM_FIELDS_ALL
Indicates that data of all fields should be trimmed.
|
static String |
GX_VAR_VAL_TRIM_FIELDS_INPUT_AND_BOTH
Indicates that data of input fields and application fields defined as "both" should be trimmed.
|
static String |
GX_VAR_VAL_TRIM_FIELDS_INPUT_ONLY
Indicates that data of input fields only should be trimmed.
|
static String |
GX_VAR_VAL_TRIM_FIELDS_NONE
Indicates that field data should not be trimmed.
|
static String |
GX_VAR_VAL_TRIM_MODE_BOTH_SIDES
Indicates trimming should be done on both sides.
|
static String |
GX_VAR_VAL_TRIM_MODE_BY_FIELD_DIRECTION
Indicates trimming should be done according to field direction.
|
static String |
GX_VAR_VAL_VT_SEND_CURSOR_ARROWS
Determines that the cursor should be set using the arrow keys.
|
static String |
GX_VAR_VAL_VT_SEND_CURSOR_NONE
Determines that the cursor should NOT be set to the host.
|
static String |
GX_VAR_VAL_VT_SEND_CURSOR_TAB
Determines that the cursor should be set using a tab key.
|
static String |
GX_VAR_VT_AUTO_SKIP_WHEN_FIELD_IS_FULL
Flag that states whether or not the cursor will jump
automatically from the current field to the next input field when the
current input field is filled with content.
|
static String |
GX_VAR_VT_DYNAMIC_INPUT_CHECK
Flag that invokes the dynamic input check.
|
static String |
GX_VAR_VT_KEY_JUMP_BETWEEN_INPUT_FIELDS
The key ApplinX server should use in order to move between input
fields in the host screen.
|
static String |
GX_VAR_VT_SEND_CURSOR
Determines the way the cursor should be set to a character mode host.
|
static String |
GX_VAR_WORKING_FOLDER
The working folder for the current session.
|
static String |
GX_WEB_APP_VERSION |
Constructor and Description |
---|
GXBaseObjectConstants() |
public static final int GX_FIELD_COLOR_NONE
public static final int GX_FIELD_COLOR_BLACK
public static final int GX_FIELD_COLOR_BLUE
public static final int GX_FIELD_COLOR_GREEN
public static final int GX_FIELD_COLOR_AQUA
public static final int GX_FIELD_COLOR_RED
public static final int GX_FIELD_COLOR_PINK
public static final int GX_FIELD_COLOR_BROWN
public static final int GX_FIELD_COLOR_WHITE
public static final int GX_FIELD_COLOR_GRAY
public static final int GX_FIELD_COLOR_LIGHT_BLUE
public static final int GX_FIELD_COLOR_LIGHT_GREEN
public static final int GX_FIELD_COLOR_LIGHT_AQUA
public static final int GX_FIELD_COLOR_LIGHT_RED
public static final int GX_FIELD_COLOR_LIGHT_PURPLE
public static final int GX_FIELD_COLOR_YELLOW
public static final int GX_FIELD_COLOR_LIGHT_WHITE
public static final String GX_VAR_DEVICE_NAME
public static final String GX_VAR_DEVICE_TYPE
public static final String GX_VAR_HOST_ADDRESS
public static final String GX_VAR_HOST_PORT
public static final String GX_VAR_UPPERCASE_INPUT
true
or false
.public static final String GX_VAR_VT_SEND_CURSOR
public static final String GX_VAR_VAL_VT_SEND_CURSOR_TAB
public static final String GX_VAR_VAL_VT_SEND_CURSOR_ARROWS
GX_VAR_VT_SEND_CURSOR
,
Constant Field Valuespublic static final String GX_VAR_VAL_VT_SEND_CURSOR_NONE
GX_VAR_VT_SEND_CURSOR
,
Constant Field Valuespublic static final String GX_VAR_VT_KEY_JUMP_BETWEEN_INPUT_FIELDS
public static final String GX_VAR_VT_AUTO_SKIP_WHEN_FIELD_IS_FULL
true
, false
.public static final String GX_VAR_VT_DYNAMIC_INPUT_CHECK
true
, false
.public static final String GX_VAR_APPLICATION_LANGUAGE
public static final String GX_VAR_REPLAY_FILE
public static final String GX_VAR_REPLAY_DELAY
GX_VAR_VAL_REPLAY_DELAY_NO_DELAY
or GX_VAR_VAL_REPLAY_DELAY_SIMULATE_HOST
.public static final String GX_VAR_VAL_REPLAY_DELAY_NO_DELAY
GX_VAR_REPLAY_DELAY
,
Constant Field Valuespublic static final String GX_VAR_VAL_REPLAY_DELAY_SIMULATE_HOST
GX_VAR_REPLAY_DELAY
,
Constant Field Valuespublic static final String GX_VAR_TRACE_FILE
public static final String GX_VAR_TRANSLATION_LANGUAGE
public static final String GX_VAR_WORKING_FOLDER
public static final String GX_VAR_SCREEN_DIRECTION
public static final String GX_VAR_VAL_SCREEN_DIRECTION_RTL
GX_VAR_SCREEN_DIRECTION
,
Constant Field Valuespublic static final String GX_VAR_VAL_SCREEN_DIRECTION_LTR
GX_VAR_SCREEN_DIRECTION
,
Constant Field Valuespublic static final String GX_VAR_RETURN_SCREEN_BUFFERS
public static final String GX_VAR_VAL_BUFFERS_NONE
public static final String GX_VAR_VAL_BUFFERS_SCREEN_DATA
public static final String GX_VAR_VAL_BUFFERS_FIELD_ATTRIBUTES
public static final String GX_VAR_REMOVE_CHARACTER
public static final String GX_VAR_VAL_REMOVE_CHARACTER_ALL
GX_VAR_REMOVE_CHARACTER
,
Constant Field Valuespublic static final String GX_VAR_VAL_REMOVE_CHARACTER_INPUT
GX_VAR_REMOVE_CHARACTER
,
Constant Field Valuespublic static final String GX_VAR_VAL_REMOVE_CHARACTER_NONE
GX_VAR_REMOVE_CHARACTER
,
Constant Field Valuespublic static final String GX_VAR_REMOVE_CHARACTER_BOTH_SIDES
public static final String GX_VAR_VAL_REMOVE_CHARACTER_BOTH_SIDES_NUMERIC_FIELDS_ONLY
public static final String GX_VAR_VAL_REMOVE_CHARACTER_BOTH_SIDES_ALL_FIELDS
public static final String GX_VAR_ENCODING_LOGICAL
public static final String GX_VAR_TRIM_FIELDS
public static final String GX_VAR_VAL_TRIM_FIELDS_INPUT_ONLY
GX_VAR_TRIM_FIELDS
,
Constant Field Valuespublic static final String GX_VAR_VAL_TRIM_FIELDS_INPUT_AND_BOTH
GX_VAR_TRIM_FIELDS
,
Constant Field Valuespublic static final String GX_VAR_VAL_TRIM_FIELDS_NONE
GX_VAR_TRIM_FIELDS
,
Constant Field Valuespublic static final String GX_VAR_VAL_TRIM_FIELDS_ALL
GX_VAR_TRIM_FIELDS
,
Constant Field Valuespublic static final String GX_VAR_TRIM_MODE
public static final String GX_VAR_VAL_TRIM_MODE_BOTH_SIDES
public static final String GX_VAR_VAL_TRIM_MODE_BY_FIELD_DIRECTION
public static final String GX_VAR_INCLUDE_HOST_FIELDS
public static final String GX_VAR_DISPLAY_HIDDEN_FIELDS
public static final String GX_VAR_THROW_EXCEPTION_ON_INVALID_INPUT
public static final Object GX_VAR_CUT_CONTENT_TO_MATCH_HOST_FIELD
public static final String GX_VAR_HOST_WINDOW_ENABLED
true
, false
.public static final String GX_VAR_FIELDS_WITH_SUGGESTED_NAMES
public static final String GX_VAR_APPLY_TRANSFORMATIONS
GXMessageActions#ACTION_SESSION_GET_SCREEN
request.
Possible values: true
, false
.public static final String GX_VAR_RETURN_FIELDS
GXMessageActions#ACTION_SESSION_GET_SCREEN
request.
Possible values: true
, false
.public static final String GX_VAR_NATURAL_DATA_TRANSFER_DELIMITER
public static final String GX_VAR_NATURAL_DATA_TRANSFER_HEADERS_USED
true
, false
. By default: false
.public static final String GX_VAR_HEALTH_CHECK_CONNECTION
GX_VAR_HEALTH_CHECK_CONNECTION_DBID
Possible values: true
, false
. By default: false
.public static final String GX_VAR_HEALTH_CHECK_CONNECTION_DBID
GX_VAR_HEALTH_CHECK_CONNECTION
Should not be defined if natural is not connected to Adabas.
Possible values: int value that define the dbid.public static final String GX_VAR_NATURAL_DATA_TRANSFER_STREAM
public static final String GX_VAR_AS400_USERNAME
public static final String GX_VAR_AS400_PASSWORD
public static final String GX_VAR_AS400_LIBRARY
public static final String GX_VAR_AS400_MENU
public static final String GX_VAR_AS400_PROGRAM
public static final String GX_VAR_AS400_KERBEROS_SERVICES_TICKET
public static final String GX_VAR_AS400_KERBEROS_ENCODING
public static final String GX_VAR_AS400_STARTUP_RESPONSE
public static final String GX_VAR_NATUX_OPTIONAL_CUSTOM_INFO
public static final int GX_FIELD_DATA_TYPE_ALPHANUMERIC
public static final int GX_FIELD_DATA_TYPE_NUMERIC
public static final int GX_FIELD_DATA_TYPE_ALPHA_ONLY
public static final int GX_FIELD_DATA_TYPE_DIGITS_ONLY
public static final int GX_FIELD_DATA_TYPE_SIGNED_NUMERIC
public static final int GX_FIELD_DATA_TYPE_KATAKANA_SHIFT
public static final int GX_FIELD_DATA_TYPE_DBCS_ONLY
public static final int GX_FIELD_DATA_TYPE_DBCS_CAN_CREATE_SISO
public static final int GX_FIELD_DATA_TYPE_REVERSED
public static final int GX_FIELD_ADJUST_NONE
public static final int GX_FIELD_ADJUST_RIGHT_ZERO_FILL
public static final int GX_FIELD_ADJUST_RIGHT_BLANK_FILL
public static final int GX_FIELD_ADJUST_RIGHT
public static final int GX_FIELD_ADJUST_LEFT
public static final String ANY_IDENTIFIED_SCREEN
if (gx_session.getScreen().getName().equals("UNKNOWN")){
GXGetScreenRequest req = new GXGetScreenRequest();
req.addWaitCondition(new GXWaitForScreen(GXBaseObjectConstants.ANY_IDENTIFIED_SCREEN,5000,0));
gx_session.getScreen(req);
}
public static final String GX_WEB_APP_VERSION
Copyright 2021 Software AG. All rights reserved. Use is subject to license terms.