public class JobPathProvider extends java.lang.Object implements DeploymentPathProvider
Constructor and Description |
---|
JobPathProvider(JobRepository jobRepository)
Construct a JobPathProvider.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDefinitionPath(java.lang.String jobName)
Return the expected path for a definition with the provided name.
|
DeploymentUnitStatus |
getDeploymentStatus(java.lang.String jobName)
Return the deployment status for the deployment name.
|
public JobPathProvider(JobRepository jobRepository)
jobRepository
- the job instance repositorypublic java.lang.String getDefinitionPath(java.lang.String jobName)
getDefinitionPath
in interface DeploymentPathProvider
jobName
- definition namepublic DeploymentUnitStatus getDeploymentStatus(java.lang.String jobName)
getDeploymentStatus
in interface DeploymentPathProvider
jobName
- deployment name