public class DefaultContentPreProcessingConfiguration extends Object implements ContentPreProcessingConfiguration
The default content pre processing configuration.
CONTENT_INFO_PROPERTIES_JOB_PARAMETER_KEY, CONTENT_META_DATA_JOB_PARAMETER_KEY, CONTENT_REFERENCE_JOB_PARAMETER_KEY, CONTENT_SCOPE_JOB_PARAMETER_KEY, CURRENT_TENANT_ID_JOB_PARAMETER_KEY, CURRENT_USER_ID_JOB_PARAMETER_KEY, ENABLE_CONTENT_PRE_PROCESSING_CONTENT_INFO_PROPERTY, JOB_NAME, ORIGINAL_FILE_PATH_JOB_PARAMETER_KEY, PROCESSED_FILE_PATH_JOB_PARAMETER_KEY, WORK_DIRECTORY_PATH_JOB_PARAMETER_KEY
Constructor and Description |
---|
DefaultContentPreProcessingConfiguration(org.springframework.batch.core.repository.JobRepository jobRepository,
org.springframework.batch.core.explore.JobExplorer jobExplorer,
org.springframework.batch.core.launch.JobLauncher jobLauncher,
org.springframework.batch.core.job.AbstractJob job,
String workDirectoryPath) |
Modifier and Type | Method and Description |
---|---|
org.springframework.batch.core.job.AbstractJob |
getJob()
The job which will be started for each add/update of the content.
|
org.springframework.batch.core.explore.JobExplorer |
getJobExplorer()
Returns the
JobExplorer used to browse the jobs and steps. |
org.springframework.batch.core.launch.JobLauncher |
getJobLauncher()
Returns the
JobLauncher used to launch the job retrieved with the ContentPreProcessingConfiguration.getJob() method. |
org.springframework.batch.core.repository.JobRepository |
getJobRepository()
Returns the
JobRepository used to persist the jobs and steps. |
File |
getWorkDirectory()
The work directory where the content pre processing job is able to store temporary files used for the pre processing.
|
public DefaultContentPreProcessingConfiguration(org.springframework.batch.core.repository.JobRepository jobRepository, org.springframework.batch.core.explore.JobExplorer jobExplorer, org.springframework.batch.core.launch.JobLauncher jobLauncher, org.springframework.batch.core.job.AbstractJob job, String workDirectoryPath)
public org.springframework.batch.core.explore.JobExplorer getJobExplorer()
ContentPreProcessingConfiguration
Returns the JobExplorer
used to browse the jobs and steps.
getJobExplorer
in interface ContentPreProcessingConfiguration
public org.springframework.batch.core.repository.JobRepository getJobRepository()
ContentPreProcessingConfiguration
Returns the JobRepository
used to persist the jobs and steps.
getJobRepository
in interface ContentPreProcessingConfiguration
public org.springframework.batch.core.launch.JobLauncher getJobLauncher()
ContentPreProcessingConfiguration
Returns the JobLauncher
used to launch the job retrieved with the ContentPreProcessingConfiguration.getJob()
method.
getJobLauncher
in interface ContentPreProcessingConfiguration
public org.springframework.batch.core.job.AbstractJob getJob()
ContentPreProcessingConfiguration
The job which will be started for each add/update of the content.
getJob
in interface ContentPreProcessingConfiguration
public File getWorkDirectory()
ContentPreProcessingConfiguration
The work directory where the content pre processing job is able to store temporary files used for the pre processing.
getWorkDirectory
in interface ContentPreProcessingConfiguration
Copyright © 2010 - 2019 edorasware ag. All Rights Reserved.