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 TypeMethodDescriptionTheTLfnDataRootthat is crawled by this job.The schedule for thisTLfnCrawlJob, in cron format.booleanIndicates whether thisTLfnCrawlJobneeds to recrawl all the files or not.booleanIndicates whether thisTLfnCrawlJobignores 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, getLastCompletionTime, getLastExecutionResult, getLastExecutionTime, getUpdatedBy, hashCode
-
Method Details
-
getDataRoot
TheTLfnDataRootthat is crawled by this job.- Returns:
- the
TLfnDataRootthat 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 thisTLfnCrawlJobignores 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
TLfnCrawlJobignores files that have been deleted or are otherwise unavailable while crawling.
-
isForceRecrawlFiles
public boolean isForceRecrawlFiles()Indicates whether thisTLfnCrawlJobneeds 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
TLfnCrawlJobneeds to recrawl all the files or not.
-
toString
-