mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Allow Context Aware quartz jobs, and start to implement scheduled persisted actions using this (ALF-4346)
Also update ScheduledPersistedActionService to fetch the persisted folder in a cleaner way, and start on tests git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21844 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -21,6 +21,7 @@ package org.alfresco.service.cmr.action.scheduled;
|
||||
import java.util.Date;
|
||||
|
||||
import org.alfresco.service.cmr.action.Action;
|
||||
import org.alfresco.service.cmr.repository.NodeRef;
|
||||
|
||||
/**
|
||||
* The scheduling wrapper around a persisted
|
||||
@@ -35,6 +36,9 @@ public interface ScheduledPersistedAction
|
||||
/** Get the action which the schedule applies to */
|
||||
public Action getAction();
|
||||
|
||||
/** Get the persisted {@link NodeRef} of the action this applies to */
|
||||
public NodeRef getActionNodeRef();
|
||||
|
||||
/**
|
||||
* Get the first date that the action should be run
|
||||
* on or after, or null if it should start shortly
|
||||
|
Reference in New Issue
Block a user