mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
ALF-4346 & ALF-4348 - More work on schedulable actions, and start to expose this through to the replication service
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22019 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -22,6 +22,7 @@ import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
import org.alfresco.service.cmr.action.CancellableAction;
|
||||
import org.alfresco.service.cmr.action.scheduled.SchedulableAction;
|
||||
import org.alfresco.service.cmr.repository.NodeRef;
|
||||
import org.alfresco.service.namespace.QName;
|
||||
|
||||
@@ -35,7 +36,7 @@ import org.alfresco.service.namespace.QName;
|
||||
*
|
||||
* @author Nick Burch
|
||||
*/
|
||||
public interface ReplicationDefinition extends CancellableAction, Serializable {
|
||||
public interface ReplicationDefinition extends CancellableAction, SchedulableAction, Serializable {
|
||||
/**
|
||||
* @return the name which uniquely identifies this replication definition.
|
||||
*/
|
||||
@@ -114,5 +115,12 @@ public interface ReplicationDefinition extends CancellableAction, Serializable {
|
||||
*/
|
||||
void setRemoteTransferReport(NodeRef report);
|
||||
|
||||
/**
|
||||
* Is scheduling currently enabled?
|
||||
* See {@link ReplicationService#enableScheduling(ReplicationDefinition)} and
|
||||
* {@link ReplicationService#disableScheduling(ReplicationDefinition)}
|
||||
*/
|
||||
boolean isSchedulingEnabled();
|
||||
|
||||
// TODO Replication options, such as permissions and rules
|
||||
}
|
||||
|
Reference in New Issue
Block a user