public abstract class ActionBase extends java.lang.Object implements Action
| Modifier | Constructor and Description |
|---|---|
protected |
ActionBase()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Cancels the action if not already initialized or waits till completion.
|
abstract boolean |
execute()
Perform action.
|
boolean |
isComplete()
Tests if the action is complete.
|
protected void |
reportException(java.lang.Exception ex)
Capture exception.
|
void |
run() |
public abstract boolean execute()
throws java.io.IOException
public void run()
run in interface java.lang.Runnablepublic void close()
public boolean isComplete()
isComplete in interface Actionprotected void reportException(java.lang.Exception ex)
ex - exception.Copyright © 2018. All rights reserved.