Package org.jobrunr.jobs
Class JobParameter
java.lang.Object
org.jobrunr.jobs.JobParameter
-
Field Summary
-
Constructor Summary
ConstructorDescriptionJobParameter
(Class<?> clazz, Object object) JobParameter
(Object object) JobParameter
(String className, Object object) JobParameter
(String className, String actualClassName, Object object) -
Method Summary
Modifier and TypeMethodDescriptionRepresents the actual class name of the job parameter (e.g.Represents the class name expected by the job method (e.g.The actual job parameterprotected static boolean
isNotNullNorAnEnum
(Object object)
-
Field Details
-
JobContext
-
-
Constructor Details
-
JobParameter
-
JobParameter
-
JobParameter
-
JobParameter
-
-
Method Details
-
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
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
The actual job parameter- Returns:
- the actual job parameter
-
isNotNullNorAnEnum
-