public abstract class WrapperServiceActionEvent extends WrapperServiceEvent
Modifier and Type | Field and Description |
---|---|
static int |
SOURCE_CODE_COMMAND_BLOCK_TIMEOUT
Action result of an event command's block timeout expired.
|
static int |
SOURCE_CODE_COMMANDFILE
Action result of a command from a command file.
|
static int |
SOURCE_CODE_DEADLOCK
Action result of a deadlock being detected.
|
static int |
SOURCE_CODE_FILTER
Action result of a configured filter being fired.
|
static int |
SOURCE_CODE_ON_EXIT
Action result of a matched exit code.
|
static int |
SOURCE_CODE_SIGNAL
Action result of a signal.
|
static int |
SOURCE_CODE_TIMER
Action result of a configured timer being fired.
|
static int |
SOURCE_CODE_WINDOWS_SERVICE_MANAGER
Action resulted from the Windows Service Manager.
|
Constructor and Description |
---|
WrapperServiceActionEvent(int actionSourceCode)
Creates a new WrapperServiceActionEvent.
|
Modifier and Type | Method and Description |
---|---|
int |
getSourceCode()
Returns the Source Code describing where the event originated.
|
java.lang.String |
getSourceCodeName()
Returns the Source Code name.
|
static java.lang.String |
getSourceCodeName(int actionSourceCode)
Returns the name of the specified Source Code.
|
java.lang.String |
toString()
Returns a string representation of the event.
|
getFlags
public static final int SOURCE_CODE_FILTER
public static final int SOURCE_CODE_COMMANDFILE
public static final int SOURCE_CODE_WINDOWS_SERVICE_MANAGER
public static final int SOURCE_CODE_ON_EXIT
public static final int SOURCE_CODE_SIGNAL
public static final int SOURCE_CODE_DEADLOCK
public static final int SOURCE_CODE_TIMER
public static final int SOURCE_CODE_COMMAND_BLOCK_TIMEOUT
public WrapperServiceActionEvent(int actionSourceCode)
actionSourceCode
- Source Code specifying where the action originated.public static java.lang.String getSourceCodeName(int actionSourceCode)
actionSourceCode
- The Source Code whose name is being requested.public int getSourceCode()
public java.lang.String getSourceCodeName()
public java.lang.String toString()
toString
in class java.util.EventObject
Copyright 1999, 2024 Tanuki Software Inc., All Rights Reserved.