Package org.xwiki.wiki.provisioning
Interface WikiProvisioningJobExecutor
-
@Deprecated @Role public interface WikiProvisioningJobExecutor
Deprecated.since 7.0M2Executor that manage jobs that provision wikis.- Since:
- 5.3M3
- Version:
- $Id: b507ea76f7015c79246242c119d036bbaf3b3169 $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description WikiProvisioningJob
createAndExecuteJob(String wikiId, String provisioningJobName, Object parameter)
Deprecated.Create a job and execute it.WikiProvisioningJob
getJob(List<String> jobId)
Deprecated.Get a wiki provisioning job.
-
-
-
Method Detail
-
createAndExecuteJob
WikiProvisioningJob createAndExecuteJob(String wikiId, String provisioningJobName, Object parameter) throws WikiProvisioningJobException
Deprecated.Create a job and execute it.- Parameters:
wikiId
- id of the wiki to provisionprovisioningJobName
- name of the WikiProvisioningJob component to useparameter
- parameter used by the wiki provisioning job, depending of its implementation.- Returns:
- the created job.
- Throws:
WikiProvisioningJobException
- if problems occur
-
getJob
WikiProvisioningJob getJob(List<String> jobId) throws WikiProvisioningJobException
Deprecated.Get a wiki provisioning job.- Parameters:
jobId
- Id of the job- Returns:
- the job status
- Throws:
WikiProvisioningJobException
- if problems occur
-
-