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, wait
canRun, createCallable, createErrorInformation, getContentString, getType
public AbstractOperation(String name)
name
- Name of the operationpublic OperationStats getStats()
Operation
public String getName()
Operation
In 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()
Operation
Copyright © 2015. All rights reserved.