Class JobParameter

java.lang.Object
org.jobrunr.jobs.JobParameter

public class JobParameter extends Object
  • Field Details

  • Constructor Details

    • JobParameter

      public JobParameter(Class<?> clazz, Object object)
    • JobParameter

      public JobParameter(Object object)
    • JobParameter

      public JobParameter(String className, Object object)
    • JobParameter

      public JobParameter(String className, String actualClassName, Object object)
  • Method Details

    • getClassName

      public String getClassName()
      Represents the class name expected by the job method (e.g. an object or an interface)
      Returns:
      the class name expected by the job method (e.g. an object or an interface)
    • getActualClassName

      public String getActualClassName()
      Represents the actual class name of the job parameter (e.g. an object), this will never be an interface
      Returns:
      the actual class name of the job parameter (e.g. an object), this will never be an interface
    • getObject

      public Object getObject()
      The actual job parameter
      Returns:
      the actual job parameter
    • isNotNullNorAnEnum

      protected static boolean isNotNullNorAnEnum(Object object)