ome.util.tasks.admin
Class ListUsersAndGroupsTask

java.lang.Object
  extended by ome.util.tasks.Task
      extended by ome.util.tasks.SimpleTask
          extended by ome.util.tasks.admin.ListUsersAndGroupsTask
All Implemented Interfaces:
Runnable

public class ListUsersAndGroupsTask
extends SimpleTask

SimpleTask which prints Experimenter and ExperimenterGroup information to standard out. Understands the parameters:

For each parameter, if the value is non-null, the output will get sent to a File of that name with the exception of the values: out and err. For "out" the output will be sent to System.out and for "err" the output will be sent to System.err.

Since:
3.0-Beta2
Author:
Josh Moore, josh.moore at gmx.de
See Also:
SimpleTask

Nested Class Summary
static class ListUsersAndGroupsTask.Keys
          Enumeration of the string values which will be used directly by ListUsersAndGroupsTask.
 
Field Summary
static String ERR
          If the value of a property equals "err", output will be sent to System.err
static String OUT
          If the value of a property equals "out", output will be sent to System.out
 
Constructor Summary
ListUsersAndGroupsTask(ServiceFactory sf, Properties p)
          Delegates to super
 
Method Summary
 void doTask()
          Performs the actual ExperimenterGroup creation.
 
Methods inherited from class ome.util.tasks.SimpleTask
close, handleException, init
 
Methods inherited from class ome.util.tasks.Task
completedSuccessfully, enumValue, getLogger, getProperties, getServiceFactory, run
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OUT

public static final String OUT
If the value of a property equals "out", output will be sent to System.out

See Also:
Constant Field Values

ERR

public static final String ERR
If the value of a property equals "err", output will be sent to System.err

See Also:
Constant Field Values
Constructor Detail

ListUsersAndGroupsTask

public ListUsersAndGroupsTask(ServiceFactory sf,
                              Properties p)
Delegates to super

Method Detail

doTask

public void doTask()
Performs the actual ExperimenterGroup creation.

Overrides:
doTask in class SimpleTask


OmeroJava Api

Version: Beta-4.1.1-r5927-b91

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