Interface EntryClassInformationProvider

All Known Implementing Classes:
FromClasspathEntryClassInformationProvider, FromJarEntryClassInformationProvider

public interface EntryClassInformationProvider
EntryClassInformationProvider provides information about the entry class.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the File referring to the Jar file that contains the job class or no File if the job class is located on the classpath.
    Returns the name of the job class or an empty Optional if the job class name cannot be provided.
  • Method Details

    • getJarFile

      Optional<File> getJarFile()
      Returns the File referring to the Jar file that contains the job class or no File if the job class is located on the classpath.
      Returns:
      The File referring to the job's Jar archive or an empty Optional in case the job shall be extracted from the classpath.
    • getJobClassName

      Optional<String> getJobClassName()
      Returns the name of the job class or an empty Optional if the job class name cannot be provided.
      Returns:
      The name of the job class or an empty Optional.