|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.dlese.dpc.oai.harvester.structs.ScheduledHarvest
public final class ScheduledHarvest
Data structure that holds the info needed to configure a regular-occuring harvest of a particular repository.
Constructor Summary | |
---|---|
ScheduledHarvest()
Constructor for the ScheduledHarvest object |
|
ScheduledHarvest(String repositoryName,
String setSpec,
String baseURL,
String metadataPrefix,
String harvestingInterval,
String intervalGranularity,
String runAtTime,
String enabledDisabled,
File harvestDir,
boolean spl,
boolean isZip,
boolean def,
boolean doZip,
String dupAllow)
Constructor for the ScheduledHarvest object |
Method Summary | |
---|---|
int |
compareTo(Object o)
Compare for sorting purposes |
boolean |
equals(Object o)
Checks equality of two ScheduledHarvest objects. |
String |
getAllowDupDir()
Gets the allowDupDir attribute of the ScheduledHarvest object |
String |
getBackupOne()
Gets the backupOne attribute of the ScheduledHarvest object |
String |
getBackupThree()
Gets the backupThree attribute of the ScheduledHarvest object |
String |
getBackupTwo()
Gets the backupTwo attribute of the ScheduledHarvest object |
String |
getBaseURL()
Gets the baseURL attribute of the ScheduledHarvest object |
static String |
getDateStamp()
Return a string for the current time and date, sutiable for display in log files and output to standout: |
boolean |
getDefaultDir()
Gets the defaultDir attribute of the ScheduledHarvest object |
boolean |
getDoZipResult()
Determine if the harvested files should be zipped |
String |
getEnabledDisabled()
Gets the enabledDisabled attribute of the ScheduledHarvest object |
boolean |
getHarvestAll()
Gets the harvestAll attribute of the ScheduledHarvest object |
File |
getHarvestDir()
Gets the harvestDir attribute of the ScheduledHarvest object |
String |
getHarvestingInterval()
Gets the harvestingInterval attribute of the ScheduledHarvest object |
String |
getIntervalGranularity()
Gets the intervalGranularity attribute of the ScheduledHarvest object |
String |
getIntervalGranularityLabel()
Gets the intervalGranularityLabel attribute of the ScheduledHarvest object |
boolean |
getIsZipPresent()
Gets the isZipPresent attribute of the ScheduledHarvest object |
Date |
getLastHarvestTime()
Gets the lastHarvestTime attribute of the ScheduledHarvest object |
String |
getMetadataPrefix()
Gets the metadataPrefix attribute of the ScheduledHarvest object |
int |
getNumHarvestedLast()
Gets the numHarvestedLast attribute of the ScheduledHarvest object |
String |
getRepositoryName()
Gets the repositoryName attribute of the ScheduledHarvest object |
String |
getRepositoryNameEscaped()
RepositoryName with quotes escaped for use in JavaScript literals. |
String |
getRunAtTime()
Gets the time of day to begin the regular harvests in 24 hour time, for example 23:15. |
String |
getRunAtTimeDisplay()
Gets the time of day this scheduled harvest is set to run, for display, for example 1:00 PM. |
String |
getSetSpec()
Gets the setSpec attribute of the ScheduledHarvest object |
String |
getSetSpecHtml()
Gets the setSpecHtml attribute of the ScheduledHarvest object |
boolean |
getSplitBySet()
Gets the splitBySet attribute of the ScheduledHarvest object |
Long |
getUid()
Gets the uid attribute of the ScheduledHarvest object |
boolean |
getWarnR()
Gets the warnR attribute of the ScheduledHarvest object |
String |
getZipLatest()
Gets the zipLatest attribute of the ScheduledHarvest object |
void |
setAllowDupDir(String v)
Sets the allowDupDir attribute of the ScheduledHarvest object |
void |
setBackupOne(String bOne)
Sets the backupOne attribute of the ScheduledHarvest object |
void |
setBackupThree(String bThree)
Sets the backupThree attribute of the ScheduledHarvest object |
void |
setBackupTwo(String bTwo)
Sets the backupTwo attribute of the ScheduledHarvest object |
void |
setBaseURL(String val)
Sets the baseURL attribute of the ScheduledHarvest object |
static void |
setDebug(boolean db)
Sets the debug attribute object |
void |
setDefaultDir(boolean def)
Sets the defaultDir attribute of the ScheduledHarvest object |
void |
setEnabledDisabled(String val)
Sets the enabledDisabled attribute of the ScheduledHarvest object |
void |
setHarvestAll(boolean h)
Sets the harvestAll attribute of the ScheduledHarvest object |
void |
setHarvestDir(File hd)
Sets the harvestDir attribute of the ScheduledHarvest object |
void |
setHarvestingInterval(String val)
Sets the harvestingInterval attribute of the ScheduledHarvest object |
void |
setIntervalGranularity(String val)
Sets the intervalGranularity attribute of the ScheduledHarvest object |
void |
setIsZipPresent(boolean isZip)
Sets the isZipPresent attribute of the ScheduledHarvest object |
void |
setLastHarvestTime(Date val)
Sets the lastHarvestTime attribute of the ScheduledHarvest object |
void |
setMetadataPrefix(String val)
Sets the metadataPrefix attribute of the ScheduledHarvest object |
void |
setNumHarvestedLast(int n)
Sets the numHarvestedLast attribute of the ScheduledHarvest object |
void |
setRepositoryName(String val)
Sets the repositoryName attribute of the ScheduledHarvest object |
void |
setRunAtTime(String runAtTime)
Sets the time of day to begin the regular harvests, in 24 hour time for example 23:15. |
void |
setSetSpec(String val)
Sets the setSpec attribute of the ScheduledHarvest object |
void |
setSplitBySet(boolean spl)
Sets the splitBySet attribute of the ScheduledHarvest object |
void |
setUid(Long val)
Sets the uid attribute of the ScheduledHarvest object |
void |
setWarnR(boolean w)
Sets the warnR attribute of the ScheduledHarvest object |
void |
setZipLatest(String z)
Sets the zipLatest attribute of the ScheduledHarvest object |
String |
toString()
Provides a String representataion for this ScheduledHarvest. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ScheduledHarvest()
public ScheduledHarvest(String repositoryName, String setSpec, String baseURL, String metadataPrefix, String harvestingInterval, String intervalGranularity, String runAtTime, String enabledDisabled, File harvestDir, boolean spl, boolean isZip, boolean def, boolean doZip, String dupAllow)
repositoryName
- Name of the repository.setSpec
- setSpec to be harvested, or null for none.baseURL
- BaseURL.metadataPrefix
- MetadataPrefix.harvestingInterval
- Interval for harvesting.intervalGranularity
- Interval granularity.runAtTime
- The time of day to begin the harvest in 24 hour time for example 23:15, or
null to schedule immediatelyenabledDisabled
- One of exactly enabled or disabled.harvestDir
- Description of the Parameterspl
- Description of the ParameterisZip
- Description of the Parameterdef
- Description of the ParameterdupAllow
- Description of the ParameterdoZip
- True to zip the resulting harvestMethod Detail |
---|
public Long getUid()
public boolean getWarnR()
public String getAllowDupDir()
public boolean getDefaultDir()
public int getNumHarvestedLast()
public String getBackupOne()
public String getZipLatest()
public String getBackupTwo()
public String getBackupThree()
public boolean getIsZipPresent()
public String getRepositoryName()
public String getRepositoryNameEscaped()
public File getHarvestDir()
public boolean getSplitBySet()
public String getBaseURL()
public boolean getDoZipResult()
public String getSetSpec()
public String getSetSpecHtml()
public String getMetadataPrefix()
public String getHarvestingInterval()
public String getIntervalGranularity()
public String getIntervalGranularityLabel()
public String getEnabledDisabled()
public Date getLastHarvestTime()
public boolean getHarvestAll()
public String getRunAtTimeDisplay()
public String getRunAtTime()
public void setRunAtTime(String runAtTime)
runAtTime
- The hour and minute in 24 hour time, for example 23:15public void setHarvestAll(boolean h)
h
- The new harvestAll valuepublic void setAllowDupDir(String v)
v
- The new allowDupDir valuepublic void setNumHarvestedLast(int n)
n
- The new numHarvestedLast valuepublic void setUid(Long val)
val
- The new uid valuepublic void setDefaultDir(boolean def)
def
- The new defaultDir valuepublic void setBackupOne(String bOne)
bOne
- The new backupOne valuepublic void setZipLatest(String z)
z
- The new zipLatest valuepublic void setBackupTwo(String bTwo)
bTwo
- The new backupTwo valuepublic void setBackupThree(String bThree)
bThree
- The new backupThree valuepublic void setIsZipPresent(boolean isZip)
isZip
- The new isZipPresent valuepublic void setWarnR(boolean w)
w
- The new warnR valuepublic void setHarvestDir(File hd)
hd
- The new harvestDir valuepublic void setSplitBySet(boolean spl)
spl
- The new splitBySet valuepublic void setRepositoryName(String val)
val
- The new repositoryName valuepublic void setBaseURL(String val)
val
- The new baseURL valuepublic void setSetSpec(String val)
val
- The new setSpec valuepublic void setMetadataPrefix(String val)
val
- The new metadataPrefix valuepublic void setHarvestingInterval(String val)
val
- The new harvestingInterval valuepublic void setIntervalGranularity(String val)
val
- The new intervalGranularity valuepublic void setEnabledDisabled(String val)
val
- The new enabledDisabled valuepublic void setLastHarvestTime(Date val)
val
- The new lastHarvestTime valuepublic String toString()
equals(Object)
method.
toString
in class Object
public boolean equals(Object o)
equals
in class Object
o
- The ScheduledHarvest to compare to this
public int compareTo(Object o)
compareTo
in interface Comparable
o
- The object to compare to.
public static String getDateStamp()
public static void setDebug(boolean db)
db
- The new debug value
|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |