public abstract class AbstractOperation extends Object implements Operation
| Constructor and Description |
|---|
AbstractOperation(String name)
Creates a new operation
|
| Modifier and Type | Method and Description |
|---|---|
int |
getId()
Gets the ID used to identify the operation within an operation mix (if
known)
|
String |
getName()
Gets the name of the operation
|
OperationStats |
getStats()
Gets statistics for the operation
|
void |
setId(int id)
Sets the ID used to identify the operation within an operation mix
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcanRun, createCallable, createErrorInformation, getContentString, getTypepublic AbstractOperation(String name)
name - Name of the operationpublic OperationStats getStats()
Operationpublic String getName()
OperationIn the 1.x releases this was almost always the filename but in the 2.x code base this is often a friendly user defined name
public int getId()
OperationCopyright © 2016. All rights reserved.