|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdk.netarkivet.harvester.datamodel.extendedfield.ExtendableEntity
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
Field Summary |
---|
Fields inherited from class dk.netarkivet.harvester.datamodel.extendedfield.ExtendableEntity |
---|
extendedFieldValues, log |
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,
java.lang.Long channelId)
Create new instance of SparseFullHarvest. |
Method Summary | |
---|---|
protected java.lang.Long |
getChannelId()
|
java.lang.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. |
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 dk.netarkivet.harvester.datamodel.extendedfield.ExtendableEntity |
---|
addExtendedFieldValue, addExtendedFieldValues, getExtendedFieldValue, getExtendedFieldValues, setExtendedFieldValues, updateExtendedFieldValue |
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, java.lang.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 one
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()
protected java.lang.Long getChannelId()
protected int getExtendedFieldType()
ExtendableEntity
getExtendedFieldType
in class ExtendableEntity
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |