dk.netarkivet.archive.indexserver
Class IndexingState

java.lang.Object
  extended by dk.netarkivet.archive.indexserver.IndexingState

public class IndexingState
extends java.lang.Object

Stores the state of a indexing task.


Constructor Summary
IndexingState(java.lang.Long jobId, java.lang.String indexingpath, java.util.concurrent.Future<java.lang.Boolean> result)
          Constructor for an IndexingState object.
 
Method Summary
 java.lang.String getIndex()
           
 java.lang.Long getJobIdentifier()
           
 java.util.concurrent.Future<java.lang.Boolean> getResultObject()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IndexingState

public IndexingState(java.lang.Long jobId,
                     java.lang.String indexingpath,
                     java.util.concurrent.Future<java.lang.Boolean> result)
Constructor for an IndexingState object.

Parameters:
jobId - The ID of the Job being indexing.
indexingpath - The full path to the index.
result - The result object for the indexing task
Method Detail

getJobIdentifier

public java.lang.Long getJobIdentifier()
Returns:
the Id of the job being indexed.

getIndex

public java.lang.String getIndex()
Returns:
the full path to the index generated.

getResultObject

public java.util.concurrent.Future<java.lang.Boolean> getResultObject()
Returns:
the result of the indexing process.