ome.services.blitz.tasks
Class BlitzTask
java.lang.Object
ome.util.tasks.Task
ome.util.tasks.SimpleTask
ome.services.blitz.tasks.BlitzTask
- All Implemented Interfaces:
- Runnable
- Direct Known Subclasses:
- ResetLicensesTask
public abstract class BlitzTask
- extends SimpleTask
Extends SimpleTask
in order to allow calling tasks on blitz servers
as well as application servers.
- Since:
- 3.0-Beta2
- Author:
- Josh Moore, josh at glencoesoftware.com
- See Also:
SimpleTask
Field Summary |
boolean |
useBlitz
Defines whether or not this task was initialized for blitz or for an
application server. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
useBlitz
public final boolean useBlitz
- Defines whether or not this task was initialized for blitz or for an
application server.
BlitzTask
public BlitzTask(ServiceFactory serviceFactory,
Properties properties)
- Delegates to super constructor.
BlitzTask
public BlitzTask(client client,
Properties properties)
- Requires a non-null
client
. If a null Properties
instance is provided, the
System properties
will be used.
- Parameters:
serviceFactory
- Cannot be null.properties
- Context variables for the task. Optional (can be null).
isBlitz
public boolean isBlitz()
getBlitzServiceFactory
public client getBlitzServiceFactory()
OmeroJava Api
Version: Beta-4.1.1-r5927-b91
Copyright © 2009 The University of Dundee. All Rights Reserved.