|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object dk.netarkivet.harvester.datamodel.SparseFullHarvest
public class SparseFullHarvest
Sparse version of FullHarvest to be used for GUI purposes only. Immutable. For GUI purposes only.
FullHarvest
Constructor Summary | |
---|---|
SparseFullHarvest(java.lang.Long oid,
java.lang.String harvestDefName,
java.lang.String comments,
int numEvents,
boolean active,
long edition,
long maxCountObjects,
long maxBytes,
long maxJobRunningTime,
java.lang.Long previousFullHarvest)
Create new instance of SparseFullHarvest. |
Method Summary | |
---|---|
java.lang.String |
getComments()
Comments for harvest definition. |
long |
getEdition()
DAO edition of harvest definition. |
long |
getMaxBytes()
Get the maximum number of bytes that this fullharvest will harvest per domain, -1 for no limit. |
long |
getMaxCountObjects()
Get the maximum number of objects that this fullharvest will harvest per domain, -1 for no limit. |
long |
getMaxJobRunningTime()
Get the maximum number of time in seconds that each job in this fullharvest will take. |
java.lang.String |
getName()
Name of harvest definition. |
int |
getNumEvents()
Number of times this harvest has run. |
java.lang.Long |
getOid()
ID of this harvest. |
java.lang.Long |
getPreviousHarvestDefinitionOid()
Get ID of HarvestDefinition which this is based on, or null for none. |
boolean |
isActive()
Whether harvest is active. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SparseFullHarvest(java.lang.Long oid, java.lang.String harvestDefName, java.lang.String comments, int numEvents, boolean active, long edition, long maxCountObjects, long maxBytes, long maxJobRunningTime, java.lang.Long previousFullHarvest)
oid
- id of this harvest.harvestDefName
- the name of the harvest definition.comments
- comments.numEvents
- Number of times this harvest has run.active
- Whether this harvest definition is active.edition
- DAO edition of harvest.maxCountObjects
- Limit for how many objects can be harvestedmaxBytes
- Limit for how many bytes can be harvestedmaxJobRunningTime
- Limit on how much time can be used for this job.
See getMaxJobRunningTime()
previousFullHarvest
- This id of the harvestDefinition used to
create this Fullharvest definition. May be
null for none
ArgumentNotValid
- if oid, name or comments is null, or name is
empty.Method Detail |
---|
public java.lang.Long getPreviousHarvestDefinitionOid()
public long getMaxCountObjects()
public long getMaxBytes()
public long getMaxJobRunningTime()
public java.lang.String getName()
public java.lang.String getComments()
public int getNumEvents()
public java.lang.Long getOid()
public boolean isActive()
public long getEdition()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |