public final class TLfnCrawlJob extends ALfnJob
Represents a crawl job that is available in LuciadFusion Studio.
Crawl jobs are jobs that scan a data root for geospatial data and style file definitions that LuciadFusion Studio recognizes.
Every TLfnCrawlJob
is associated with a data root. See getDataRoot()
.
For each TLfnDataRoot
, LuciadFusion Studio automatically creates a crawl job.
The crawl job scans the data root's directory and all of its subfolders for data and styles LuciadFusion recognizes.
For each recognized item, it adds a TLfnData
or TLfnStyle
item to LuciadFusion Studio.
Each TLfnCrawlJob
can be executed manually or it can be scheduled to be executed at fixed intervals.
Modifier and Type | Method and Description |
---|---|
TLfnDataRoot |
getDataRoot()
The
TLfnDataRoot that is crawled by this job. |
String |
getJobSchedule()
The schedule for this
TLfnCrawlJob , in cron format. |
boolean |
isForceRecrawlFiles()
Indicates whether this
TLfnCrawlJob needs to recrawl all the files or not. |
boolean |
isIgnoreDeletedFiles()
Indicates whether this
TLfnCrawlJob ignores files that have been deleted or are otherwise unavailable while crawling. |
String |
toString() |
equals, getCreatedBy, getCreationTime, getId, getJobProgress, getJobState, getLastExecutionResult, getLastExecutionTime, getUpdatedBy, hashCode
public TLfnDataRoot getDataRoot()
TLfnDataRoot
that is crawled by this job.TLfnDataRoot
that is crawled by this job.public String getJobSchedule()
TLfnCrawlJob
, in cron format. If the job is not scheduled this value will be null
.TLfnCrawlJob
, in cron format.public boolean isIgnoreDeletedFiles()
TLfnCrawlJob
ignores files that have been deleted or are otherwise unavailable while crawling.
If set to false
, Data and Styles will be deleted from LuciadFusion if the corresponding files are not available.
If set to true
, no Data or Styles will be deleted.TLfnCrawlJob
ignores files that have been deleted or are otherwise unavailable while crawling.public boolean isForceRecrawlFiles()
TLfnCrawlJob
needs to recrawl all the files or not.
If set to false
(default) only new or failed files will be processed.
If set to true all files will be processed, including files that succeeded before.TLfnCrawlJob
needs to recrawl all the files or not.