public class SparseFullHarvest extends ExtendableEntity
FullHarvest
extendedFieldValues
Constructor and Description |
---|
SparseFullHarvest(Long oid,
String harvestDefName,
String comments,
int numEvents,
boolean active,
long edition,
long maxCountObjects,
long maxBytes,
long maxJobRunningTime,
Long previousFullHarvest,
Long channelId)
Create new instance of SparseFullHarvest.
|
Modifier and Type | Method and Description |
---|---|
protected Long |
getChannelId() |
String |
getComments()
Comments for harvest definition.
|
long |
getEdition()
DAO edition of harvest definition.
|
protected int |
getExtendedFieldType()
abstract method for receiving the ExtendedFieldType for concret class which inherits ExtendableEntity
|
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.
|
String |
getName()
Name of harvest definition.
|
int |
getNumEvents()
Number of times this harvest has run.
|
Long |
getOid()
ID of this harvest.
|
Long |
getPreviousHarvestDefinitionOid()
Get ID of HarvestDefinition which this is based on, or null for none.
|
boolean |
isActive()
Whether harvest is active.
|
addExtendedFieldValue, addExtendedFieldValues, getExtendedFieldValue, getExtendedFieldValues, setExtendedFieldValues, updateExtendedFieldValue
public SparseFullHarvest(Long oid, String harvestDefName, String comments, int numEvents, boolean active, long edition, long maxCountObjects, long maxBytes, long maxJobRunningTime, Long previousFullHarvest, Long channelId)
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 nonechannelId
- the channel id, or null for the default oneArgumentNotValid
- if oid, name or comments is null, or name is empty.public Long getPreviousHarvestDefinitionOid()
public long getMaxCountObjects()
public long getMaxBytes()
public long getMaxJobRunningTime()
public String getComments()
public int getNumEvents()
public boolean isActive()
public long getEdition()
protected Long getChannelId()
protected int getExtendedFieldType()
ExtendableEntity
getExtendedFieldType
in class ExtendableEntity
Copyright © 2005–2015 The Royal Danish Library, the Danish State and University Library, the National Library of France and the Austrian National Library.. All rights reserved.