Class StaleEntryUpdateServiceImpl
java.lang.Object
com.codebarrel.jira.plugin.automation.schedule.staleentryupdate.StaleEntryUpdateServiceImpl
- All Implemented Interfaces:
com.atlassian.sal.api.lifecycle.LifecycleAware,StaleEntryUpdateService
@Component
public class StaleEntryUpdateServiceImpl
extends Object
implements StaleEntryUpdateService, com.atlassian.sal.api.lifecycle.LifecycleAware
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int -
Constructor Summary
ConstructorsConstructorDescriptionStaleEntryUpdateServiceImpl(com.atlassian.scheduler.SchedulerService schedulerService, TenantService tenantService, StaleEntryUpdateJob staleEntryUpdateJob, StaleEntryUpdatePropertyValidator staleEntryUpdatePropertyValidator) -
Method Summary
Modifier and TypeMethodDescriptionvoidonStart()voidonStop()voidupdateStaleEntrySchedulerWithProperty(String propertyKey, String propertyValue) voidupdateStaleEntrySchedulerWithTenantProperties(TenantProperties tenantProperties)
-
Field Details
-
STALE_ENTRY_MIN_STALE_DURATION_IN_MINUTE_DEFAULT
public static final int STALE_ENTRY_MIN_STALE_DURATION_IN_MINUTE_DEFAULT- See Also:
-
-
Constructor Details
-
StaleEntryUpdateServiceImpl
@Inject public StaleEntryUpdateServiceImpl(com.atlassian.scheduler.SchedulerService schedulerService, TenantService tenantService, StaleEntryUpdateJob staleEntryUpdateJob, StaleEntryUpdatePropertyValidator staleEntryUpdatePropertyValidator)
-
-
Method Details
-
onStart
public void onStart()- Specified by:
onStartin interfacecom.atlassian.sal.api.lifecycle.LifecycleAware
-
onStop
public void onStop()- Specified by:
onStopin interfacecom.atlassian.sal.api.lifecycle.LifecycleAware
-
updateStaleEntrySchedulerWithProperty
- Specified by:
updateStaleEntrySchedulerWithPropertyin interfaceStaleEntryUpdateService
-
updateStaleEntrySchedulerWithTenantProperties
- Specified by:
updateStaleEntrySchedulerWithTenantPropertiesin interfaceStaleEntryUpdateService
-
getJobCronExpression
-