dk.netarkivet.harvester.webinterface
Class FindRunningJobQuery

java.lang.Object
  extended by dk.netarkivet.harvester.webinterface.FindRunningJobQuery

public class FindRunningJobQuery
extends java.lang.Object

Represents a query for job IDs that would be set to harvest a given domain.


Nested Class Summary
static class FindRunningJobQuery.UI_FIELD
          Defines the UI fields and their default values.
 
Constructor Summary
FindRunningJobQuery(javax.servlet.ServletRequest req)
          Builds a request to find a running job.
 
Method Summary
 java.lang.String getDomainName()
           
 java.lang.Long[] getRunningJobIds()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FindRunningJobQuery

public FindRunningJobQuery(javax.servlet.ServletRequest req)
Builds a request to find a running job. UI fileds values will be extracted from the given ServletRequest.

Parameters:
req - the ServletRequest to parse.
Method Detail

getDomainName

public java.lang.String getDomainName()
Returns:
the domain name to search for.

getRunningJobIds

public java.lang.Long[] getRunningJobIds()
Returns:
the IDs of the currently running jobs whose configurations include the given domain.