nenok.net.task
Class Scale
java.lang.Object
nenok.net.task.Scale
- All Implemented Interfaces:
- Serializable, Task
public final class Scale
- extends Object
- implements Task
Command design pattern class for the scaling operation.
- Version:
- 1.1
- Author:
- Marc Pouly
- See Also:
- Serialized Form
Scale
public Scale(Locator factor)
- Constructor:
- Parameters:
factor
- The factor whose scale is computed.
execute
public Envelope execute()
throws RemoteException,
VAException
- Description copied from interface:
Task
- Execution method of the COMMAND design pattern.
- Specified by:
execute
in interface Task
- Returns:
- The envelope containing the task's result.
- Throws:
RemoteException
- Exception caused when remote processors are accessed.
VAException
- Exception caused by illegal valuation algebra operations.- See Also:
Task.execute()
toString
public String toString()
- Overrides:
toString
in class Object
- See Also:
Object.toString()