Interface EntryClassInformationProvider
-
- All Known Implementing Classes:
FromClasspathEntryClassInformationProvider
,FromJarEntryClassInformationProvider
public interface EntryClassInformationProvider
EntryClassInformationProvider
provides information about the entry class.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Optional<File>
getJarFile()
Returns theFile
referring to the Jar file that contains the job class or noFile
if the job class is located on the classpath.Optional<String>
getJobClassName()
Returns the name of the job class or an emptyOptional
if the job class name cannot be provided.
-
-
-
Method Detail
-
getJarFile
Optional<File> getJarFile()
Returns theFile
referring to the Jar file that contains the job class or noFile
if the job class is located on the classpath.- Returns:
- The
File
referring to the job's Jar archive or an emptyOptional
in case the job shall be extracted from the classpath.
-
-