public class SomQmgrUserEventCommand extends SomQmgrCommand
setType(String)
, followed by optional list of information
parameters using setValue(String, String)
.opListener, opSession
Constructor and Description |
---|
SomQmgrUserEventCommand(SomSession session,
SomQmgrHandler object,
SomCommandListener listener)
Create a new SOM Queue Manager user event command that could be used
for audit logging from the UI
|
Modifier and Type | Method and Description |
---|---|
void |
addSelector(SomQmgrSelector sel)
Add a Selector to the command
|
java.lang.String |
getCommandString() |
protected java.lang.String |
getSubcommand() |
void |
setType(java.lang.String type)
Set the type of user event
|
void |
setValue(java.lang.String type,
java.lang.String value) |
getHandler, processResponse
dispatch, getSession, notifyListener, notifyListener, notifyListener
public SomQmgrUserEventCommand(SomSession session, SomQmgrHandler object, SomCommandListener listener)
session
- Session for command which may not be nullobject
- Result handler object which may not be nulllistener
- Listener object to be notified when command
completes, which may be nullpublic void setType(java.lang.String type)
type
- type, not nullpublic void setValue(java.lang.String type, java.lang.String value)
type
- type of user event, not nullvalue
- value for user event, may be nullprotected java.lang.String getSubcommand()
public void addSelector(SomQmgrSelector sel)
sel
- Selector which may be nullpublic java.lang.String getCommandString() throws SomException
getCommandString
in class SomCommand
SomException
- Indicating a problem with the commandVersion: 18.0v6-0
Copyright (c) 2017-2020 Isode