public final class SystemMessage extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
ACTIVE_INSTANCE_PORT
This port is used for setting the active dialog instance (for Close, Hide and Show actions).
|
static SystemMessage |
ACTIVE_INSTANCE_TEMPLATE
Send messages to this address for setting the active dialog instance.
|
static String |
ALERT_PORT
This port is used for displaying alert messages in the UA.
|
static String |
ALERT_RECEIVER
Send messages to this address for the alert port.
|
static SystemMessage |
ALERT_TEMPLATE
Send messages to this address for displaying alert messages in the UA.
|
static String |
ANY_RECEIVER
The system will forward the message to any system implementing this port.
|
static String |
CALLBACK_PORT
This port is used to handle call backs in dialog interactions.
|
static SystemMessage |
CALLBACK_TEMPLATE
Send messages to this address for call back in dialog interactions.
|
static String |
ERROR_PORT
This port is used to handle errors from the system.
|
static String |
MENU_PORT
Menu items use this port to execute the event of a message.
|
static String |
MESSAGE_ACTION_PERFORMER
The event method which performs actions received in messages.
|
static String |
OPEN_PORT
This port is used for opening a URL in a new tab or window.
|
static String |
OPEN_RECEIVER
Send messages to this address for the open port.
|
static SystemMessage |
OPEN_TEMPLATE
Send messages to this address opening a URL in a new tab or window.
|
String |
payload
The payload
|
String |
port
The port
|
static String |
QUERY_SETUP_PORT
Send messages to this address to query the URL of the system setup.
|
static String |
QUERY_SETUP_RECEIVER
Send messages to this address to query the URL of the system setup.
|
static SystemMessage |
QUERY_SETUP_TEMPLATE
Send messages to this address to query the URL of the system setup.
|
String |
receiver
The receiver
|
static String |
STACK_ELEVATE_PORT
Send messages to this address to elevate the application stack.
|
static SystemMessage |
STACK_ELEVATE_TEMPLATE
Send messages to this address to elevate the application stack.
|
static String |
STACK_POP_PORT
Send messages to this address to pop the application stack.
|
static SystemMessage |
STACK_POP_TEMPLATE
Send messages to this address to pop the application stack.
|
static String |
STACK_PUSH_PORT
Send messages to this address to push the application stack.
|
static SystemMessage |
STACK_PUSH_TEMPLATE
Send messages to this address to push the application stack.
|
static String |
STACK_RECEIVER
Send messages to this address to push or pop the application stack.
|
static String |
SYSTEM
The system address
|
static String |
URL_PORT
Send messages to this address to set the anchor part of the url to a message.
|
static String |
URL_RECEIVER
Send messages to this address to set the anchor part of the url to a message.
|
static SystemMessage |
URL_TEMPLATE
Send messages to this address to set the anchor part of the url to a message.
|
| Constructor and Description |
|---|
SystemMessage(String codedMessage)
Constructor creating
|
SystemMessage(String receiver,
String port,
String payload) |
| Modifier and Type | Method and Description |
|---|---|
String |
code()
Codes this message
|
SystemMessage |
payload(String payload)
Creates a new message based on this but changes the payload
|
SystemMessage |
payload(SystemMessage payload)
Creates a new message based on this but changes the payload
|
SystemMessage |
port(String port)
Creates a new message based on this but changes the port
|
SystemMessage |
receiver(String receiver)
Creates a new message based on this but changes the receiver
|
String |
toString() |
public static final String ANY_RECEIVER
public static final String SYSTEM
public static final String URL_RECEIVER
public static final String URL_PORT
public static final SystemMessage URL_TEMPLATE
public static final String STACK_RECEIVER
public static final String STACK_PUSH_PORT
public static final String STACK_ELEVATE_PORT
public static final String STACK_POP_PORT
public static final SystemMessage STACK_PUSH_TEMPLATE
public static final SystemMessage STACK_ELEVATE_TEMPLATE
public static final SystemMessage STACK_POP_TEMPLATE
public static final String QUERY_SETUP_RECEIVER
public static final String QUERY_SETUP_PORT
public static final SystemMessage QUERY_SETUP_TEMPLATE
public static final String MENU_PORT
public static final String CALLBACK_PORT
public static final SystemMessage CALLBACK_TEMPLATE
public static final String ERROR_PORT
public static final String ALERT_PORT
public static final String ALERT_RECEIVER
public static final SystemMessage ALERT_TEMPLATE
public static final String OPEN_PORT
public static final String OPEN_RECEIVER
public static final SystemMessage OPEN_TEMPLATE
public static final String ACTIVE_INSTANCE_PORT
public static final SystemMessage ACTIVE_INSTANCE_TEMPLATE
public static final String MESSAGE_ACTION_PERFORMER
public final String receiver
public final String port
public final String payload
public SystemMessage(String codedMessage)
codedMessage - The coded messagepublic String code()
public SystemMessage receiver(String receiver)
receiver - the new receiverpublic SystemMessage port(String port)
port - the new portpublic SystemMessage payload(String payload)
payload - the new payloadpublic SystemMessage payload(SystemMessage payload)
payload - the new payloadCopyright © 2006–2020 Esito AS. All rights reserved.