Package com.luciad.fusion.platform.model
Class TLfnCrawlJob
java.lang.Object
com.luciad.fusion.platform.model.ALfnJob
com.luciad.fusion.platform.model.TLfnCrawlJob
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.
- Since:
- 2022.1
-
Method Summary
Modifier and TypeMethodDescriptionTheTLfnDataRoot
that is crawled by this job.The schedule for thisTLfnCrawlJob
, in cron format.boolean
Indicates whether thisTLfnCrawlJob
needs to recrawl all the files or not.boolean
Indicates whether thisTLfnCrawlJob
ignores files that have been deleted or are otherwise unavailable while crawling.toString()
Methods inherited from class com.luciad.fusion.platform.model.ALfnJob
equals, getCreatedBy, getCreationTime, getId, getJobProgress, getJobState, getLastExecutionResult, getLastExecutionTime, getUpdatedBy, hashCode
-
Method Details
-
getDataRoot
TheTLfnDataRoot
that is crawled by this job.- Returns:
- the
TLfnDataRoot
that is crawled by this job.
-
getJobSchedule
The schedule for thisTLfnCrawlJob
, in cron format. If the job is not scheduled this value will benull
.- Returns:
- The schedule for this
TLfnCrawlJob
, in cron format.
-
isIgnoreDeletedFiles
public boolean isIgnoreDeletedFiles()Indicates whether thisTLfnCrawlJob
ignores files that have been deleted or are otherwise unavailable while crawling. If set tofalse
, Data and Styles will be deleted from LuciadFusion if the corresponding files are not available. If set totrue
, no Data or Styles will be deleted.- Returns:
- a boolean value indicating whether this
TLfnCrawlJob
ignores files that have been deleted or are otherwise unavailable while crawling.
-
isForceRecrawlFiles
public boolean isForceRecrawlFiles()Indicates whether thisTLfnCrawlJob
needs to recrawl all the files or not. If set tofalse
(default) only new or failed files will be processed. If set to true all files will be processed, including files that succeeded before.- Returns:
- a boolean value indicating whether this
TLfnCrawlJob
needs to recrawl all the files or not.
-
toString
-