AdminState event object, for admin manage change application state commands, like shutdown.
More...
AdminState event object, for admin manage change application state commands, like shutdown.
Definition at line 1011 of file EventObjects.py.
◆ __init__()
def dtm.EventObjects.AdminState.__init__ |
( |
|
self, |
|
|
|
className, |
|
|
|
command |
|
) |
| |
constructor initialize task's fields
- Parameters
-
command | the command code for state operation |
className | name of target class |
Definition at line 1026 of file EventObjects.py.
1026 def __init__(self, className, command):
1029 self.className = className
1032 self.command = command
def __init__(self)
constructor
◆ toJSON()
def dtm.EventObjects.AdminState.toJSON |
( |
|
self | ) |
|
Definition at line 1035 of file EventObjects.py.
1036 return json.dumps(self, default=
lambda o: o.__dict__, sort_keys=
True, indent=4)
◆ className
dtm.EventObjects.AdminState.className |
◆ command
dtm.EventObjects.AdminState.command |
◆ STATE_ERROR
int dtm.EventObjects.AdminState.STATE_ERROR = 7 |
|
static |
◆ STATE_NOP
int dtm.EventObjects.AdminState.STATE_NOP = 0 |
|
static |
◆ STATE_READY
int dtm.EventObjects.AdminState.STATE_READY = 1 |
|
static |
◆ STATE_SHUTDOWN
int dtm.EventObjects.AdminState.STATE_SHUTDOWN = 2 |
|
static |
◆ STATE_SUSPEND
int dtm.EventObjects.AdminState.STATE_SUSPEND = 3 |
|
static |
◆ STATE_TRACE
int dtm.EventObjects.AdminState.STATE_TRACE = 4 |
|
static |
◆ STATE_TRANSACTION_ROLLBACK
int dtm.EventObjects.AdminState.STATE_TRANSACTION_ROLLBACK = 6 |
|
static |
The documentation for this class was generated from the following file: