Examples of RepositoryTask


Examples of org.apache.maven.archiva.scheduled.tasks.RepositoryTask

   
    // MRM-848: Pre-configured repository initially appear to be empty
    private synchronized void queueInitialRepoScan( ManagedRepositoryConfiguration repoConfig )
    {
        String repoId = repoConfig.getId();       
        RepositoryTask task = TaskCreator.createRepositoryTask( repoId );

        if ( !queuedRepos.contains( repoId ) )
        {
            log.info( "Repository [" + repoId + "] is queued to be scanned as it hasn't been previously." );
View Full Code Here

Examples of org.apache.maven.archiva.scheduler.task.RepositoryTask

        setJobDataMap( dataMap );

        TaskQueue taskQueue = (TaskQueue) dataMap.get( TASK_QUEUE );
        String queuePolicy = dataMap.get( TASK_QUEUE_POLICY ).toString();

        RepositoryTask task = new DataRefreshTask();
        task.setJobName( context.getJobDetail().getName() );

        try
        {
            if ( taskQueue.getQueueSnapshot().size() == 0 )
            {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.