public class SimpleOperation.Reference extends OperationReference
Constructor and Description |
---|
Reference() |
Modifier and Type | Method and Description |
---|---|
void |
execute(Task task)
Executes this operation for the specified task.
|
Object |
getCode()
Gets the operation code.
|
Operation |
getOperation()
Gets the operation.
|
fail, fail, getPosition, setPosition, setUp, toString
public void execute(Task task) throws Task.ExecuteException, Stack.AccessException
execute
in class OperationReference
task
- The task.Task.ExecuteException
- when appropriate.Stack.AccessException
- When raised by the stack.public final Object getCode()
public Operation getOperation()
getOperation
in class OperationReference
Copyright © 2003-2019 Serge Brisson. All Rights Reserved.