public interface InstallationFinder
JobInstance
to its InstallationRecord
based on the structure within the
installation directory. Implementations of this interface should encapsulate any custom installation
structure such that the resulting InstallationRecord
simply contains the locations of the files
needed to control the job.Modifier and Type | Method and Description |
---|---|
java.util.Map<JobInstance,InstallationRecord> |
getAllInstalledJobs() |
boolean |
isInstalled(JobInstance jobInstance) |
boolean isInstalled(JobInstance jobInstance)
jobInstance
- the job to check.true
if a job with the specified name and id is installed on the local host.java.util.Map<JobInstance,InstallationRecord> getAllInstalledJobs()
JobInstance
to the corresponding InstallationRecord
for each Samza installation found in the installRoot.