com.norconex.jef
Class AbstractJob
java.lang.Object
com.norconex.jef.AbstractJob
- All Implemented Interfaces:
- IJob
public abstract class AbstractJob
- extends Object
- implements IJob
Convenient base class for implementing jobs. Provides a default
implementation of getId() passed at construction time.
- Since:
- 1.1
- Author:
- Pascal Essiembre
Method Summary |
String |
getId()
Gets the job unique identifier. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractJob
public AbstractJob(String id)
- Creates a new job.
- Parameters:
id
- unique job identifier
getId
public final String getId()
- Description copied from interface:
IJob
- Gets the job unique identifier.
- Specified by:
getId
in interface IJob
- Returns:
- job unique identifier
Copyright © 2007-2013 Norconex Inc.. All Rights Reserved.