org.apache.archiva.scheduler.repository.model
Interface RepositoryArchivaTaskScheduler

All Superinterfaces:
ArchivaTaskScheduler<RepositoryTask>
All Known Implementing Classes:
DefaultRepositoryArchivaTaskScheduler

public interface RepositoryArchivaTaskScheduler
extends ArchivaTaskScheduler<RepositoryTask>

Scheduling component for archiva repositories


Method Summary
 boolean isProcessingRepositoryTask(RepositoryTask task)
           
 boolean isProcessingRepositoryTask(String repositoryId)
           
 void queueTask(RepositoryTask task)
          Adds the task to the scanning queue.
 boolean unQueueTask(RepositoryTask task)
           
 

Method Detail

isProcessingRepositoryTask

boolean isProcessingRepositoryTask(String repositoryId)

isProcessingRepositoryTask

boolean isProcessingRepositoryTask(RepositoryTask task)

queueTask

void queueTask(RepositoryTask task)
               throws org.apache.archiva.redback.components.taskqueue.TaskQueueException
Description copied from interface: ArchivaTaskScheduler
Adds the task to the scanning queue.

Specified by:
queueTask in interface ArchivaTaskScheduler<RepositoryTask>
Throws:
org.apache.archiva.redback.components.taskqueue.TaskQueueException

unQueueTask

boolean unQueueTask(RepositoryTask task)
                    throws org.apache.archiva.redback.components.taskqueue.TaskQueueException
Throws:
org.apache.archiva.redback.components.taskqueue.TaskQueueException


Copyright © 2006-2013 The Apache Software Foundation. All Rights Reserved.