javax.management.DynamicMBean, javax.management.MBeanRegistration, javax.management.NotificationBroadcaster, RuntimeMBean, TaskRuntimeMBean, WebLogicMBeanpublic interface MigrationTaskRuntimeMBean extends TaskRuntimeMBean
Represents a running or completed migration operation.
| Modifier and Type | Field | Description |
|---|---|---|
static int |
STATUS_AWAITING_IS_DESTINATION_DOWN |
Value returned by getStatusCode to indicate that the task has
detected that the destination server is down and that user
confirmation of that fact is required before proceeding with the
migration.
|
static int |
STATUS_AWAITING_IS_SOURCE_DOWN |
Value returned by getStatusCode to indicate that the task has
detected that the source server is down and that user
confirmation of that fact is required before proceeding with the
migration.
|
static int |
STATUS_CANCELED |
Value returned by getStatusCode indicating a terminal
state.
|
static int |
STATUS_DONE |
Value returned by getStatusCode indicating a terminal
state.
|
static int |
STATUS_FAILED |
Value returned by getStatusCode indicating a terminal
state.
|
static int |
STATUS_INPROGRESS |
Value returned by getStatusCode indicating the initial
state.
|
PROGRESS_FAILED, PROGRESS_PENDING, PROGRESS_PROCESSING, PROGRESS_SUCCESS| Modifier and Type | Method | Description |
|---|---|---|
int |
getStatusCode() |
Provides an int describing the status of this Task.
|
boolean |
isJTA() |
Indicates whether the migration task moves a JTA recovery
manager.
|
boolean |
isRunning() |
Indicates whether the Task is still running.
|
boolean |
isTerminal() |
Indicates whether the Task was successful, failed or was
canceled.
|
boolean |
isWaitingForUser() |
Indicates whether the Task is waiting for user input.
|
getAttribute, getAttributes, invoke, setAttribute, setAttributespostDeregister, postRegister, preRegisteraddNotificationListener, getNotificationInfo, removeNotificationListeneraddPropertyChangeListener, removePropertyChangeListenercancel, getBeginTime, getDescription, getEndTime, getError, getParentTask, getProgress, getStatus, getSubTasks, isSystemTask, setSystemTaskgetMBeanInfo, getName, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setName, setParentstatic final int STATUS_INPROGRESS
Value returned by getStatusCode indicating the initial state.
static final int STATUS_DONE
Value returned by getStatusCode indicating a terminal state.
static final int STATUS_FAILED
Value returned by getStatusCode indicating a terminal state.
static final int STATUS_AWAITING_IS_SOURCE_DOWN
Value returned by getStatusCode to indicate that the task has detected that the source server is down and that user confirmation of that fact is required before proceeding with the migration.
static final int STATUS_AWAITING_IS_DESTINATION_DOWN
Value returned by getStatusCode to indicate that the task has detected that the destination server is down and that user confirmation of that fact is required before proceeding with the migration.
static final int STATUS_CANCELED
Value returned by getStatusCode indicating a terminal state.
int getStatusCode()
Provides an int describing the status of this Task.
boolean isRunning()
Indicates whether the Task is still running.
isRunning in interface TaskRuntimeMBeanboolean isTerminal()
Indicates whether the Task was successful, failed or was canceled.
boolean isWaitingForUser()
Indicates whether the Task is waiting for user input.
boolean isJTA()
Indicates whether the migration task moves a JTA recovery manager.