public interface Action
Modifier and Type | Method and Description |
---|---|
long |
getCompletionTime()
Time when the Action completed
|
ActionId |
getId()
Get the Action ID for the action
|
long |
getLastUpdateTime()
Get the last update time of the Action when its progress status
was updated
|
long |
getStartTime()
Get Start Time of the action
|
ActionState |
getState()
Get the current state of the Action
|
void |
handleEvent(ActionEvent event)
Send a ActionEvent to the Action's StateMachine
|
void |
setState(ActionState state)
Set the State of the Action
|
ActionId getId()
long getStartTime()
long getLastUpdateTime()
long getCompletionTime()
ActionState getState()
void setState(ActionState state)
state
- ActionStatevoid handleEvent(ActionEvent event) throws InvalidStateTransitionException
event
- ActionEventInvalidStateTransitionException
Copyright © 2022 Apache Software Foundation. All rights reserved.