Class ScheduledJobRef
java.lang.Object
com.broadleafcommerce.common.messaging.domain.ScheduledJobRef
A reference to a ScheduledJob of the scheduled job microservice.
- Author:
- Chad Harchar (charchar)
-
Constructor Summary
ConstructorsConstructorDescriptionScheduledJobRef
(String type, List<ScheduledJobDetailRef> detailRefs) ScheduledJobRef
(String type, List<ScheduledJobDetailRef> detailRefs, String tenantId) ScheduledJobRef
(String type, List<ScheduledJobDetailRef> detailRefs, String tenantId, Instant lastExecuted) ScheduledJobRef
(String type, List<ScheduledJobDetailRef> details, String tenantId, Instant lastExecuted, Map<String, Object> additionalParameters) -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
Additional information that can be used to add parameters for the scheduled job listeners.The date on which the job last executed.The ID of the associated tenant.getType()
int
hashCode()
void
setAdditionalParameters
(Map<String, Object> additionalParameters) Additional information that can be used to add parameters for the scheduled job listeners.void
setDetails
(List<ScheduledJobDetailRef> details) void
setLastExecuted
(Instant lastExecuted) The date on which the job last executed.void
setTenantId
(String tenantId) The ID of the associated tenant.void
toString()
-
Constructor Details
-
ScheduledJobRef
-
ScheduledJobRef
-
ScheduledJobRef
public ScheduledJobRef(String type, List<ScheduledJobDetailRef> detailRefs, String tenantId, Instant lastExecuted) -
ScheduledJobRef
public ScheduledJobRef() -
ScheduledJobRef
-
-
Method Details
-
getType
-
getDetails
-
getTenantId
The ID of the associated tenant.- Returns:
- ID of the associated tenant
-
getLastExecuted
The date on which the job last executed.- Returns:
- The date on which the job last executed.
-
getAdditionalParameters
Additional information that can be used to add parameters for the scheduled job listeners.- Returns:
- the additional parameters for this job
-
setType
-
setDetails
-
setTenantId
The ID of the associated tenant.- Parameters:
tenant
- ID of the associated tenant
-
setLastExecuted
The date on which the job last executed.- Parameters:
lastExecuted
- The date on which the job last executed.
-
setAdditionalParameters
Additional information that can be used to add parameters for the scheduled job listeners.- Parameters:
additionalParameters
- the additional parameters for this job
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-