ome.services.util
Class Executor.SimpleWork

java.lang.Object
  extended by ome.services.util.Executor.SimpleWork
All Implemented Interfaces:
Executor.Work
Enclosing interface:
Executor

public abstract static class Executor.SimpleWork
extends Object
implements Executor.Work

Simple adapter which takes a String for description


Constructor Summary
Executor.SimpleWork(Object o, String method, Object... params)
           
 
Method Summary
 String description()
          Returns a description of what this work will be doing for logging purposes.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface ome.services.util.Executor.Work
doWork
 

Constructor Detail

Executor.SimpleWork

public Executor.SimpleWork(Object o,
                           String method,
                           Object... params)
Method Detail

description

public String description()
Description copied from interface: Executor.Work
Returns a description of what this work will be doing for logging purposes.

Specified by:
description in interface Executor.Work


OmeroJava Api

Version: Beta-4.1.1-r5927-b91

Copyright © 2009 The University of Dundee. All Rights Reserved.