org.mule.devkit.nexus.task
Class DevkitReIndexerTask

java.lang.Object
  extended by org.sonatype.scheduling.AbstractSchedulerTask<T>
      extended by org.sonatype.nexus.scheduling.AbstractNexusTask<T>
          extended by org.sonatype.nexus.scheduling.AbstractNexusRepositoriesTask<Object>
              extended by org.mule.devkit.nexus.task.DevkitReIndexerTask
All Implemented Interfaces:
Callable<Object>, org.sonatype.nexus.scheduling.NexusTask<Object>, org.sonatype.scheduling.SchedulerTask<Object>

@Named(value="devkit.indexer.task")
public class DevkitReIndexerTask
extends org.sonatype.nexus.scheduling.AbstractNexusRepositoriesTask<Object>
implements org.sonatype.scheduling.SchedulerTask<Object>

This task reindexes a given repository

Author:
mariano.gonzalez@mulesoft.com

Field Summary
 
Fields inherited from class org.sonatype.nexus.scheduling.AbstractNexusTask
A_DAY
 
Fields inherited from class org.sonatype.scheduling.AbstractSchedulerTask
logger
 
Fields inherited from interface org.sonatype.nexus.scheduling.NexusTask
ALERT_EMAIL_KEY, ID_KEY, NAME_KEY, PRIVATE_PROP_PREFIX
 
Constructor Summary
DevkitReIndexerTask(org.sonatype.nexus.index.IndexerManager indexerManager, org.sonatype.nexus.proxy.registry.RepositoryRegistry repositories)
           
 
Method Summary
protected  Object doRun()
           
protected  String getAction()
           
protected  String getMessage()
           
protected  String getRepositoryFieldId()
           
 
Methods inherited from class org.sonatype.nexus.scheduling.AbstractNexusRepositoriesTask
allowConcurrentExecution, getIdFromPrefixedString, getRepositoryGroupId, getRepositoryGroupName, getRepositoryId, getRepositoryName, getRepositoryRegistry, hasIntersectingTasksThatRuns, repositorySetIntersectionIsNotEmpty, setRepositoryGroupId, setRepositoryId
 
Methods inherited from class org.sonatype.nexus.scheduling.AbstractNexusTask
afterRun, allowConcurrentSubmission, beforeRun, call, getAlertEmail, getId, getLoggedMessage, getLoggedMessage, getName, getTaskActivityDescriptor, isExposed, shouldSendAlertEmail
 
Methods inherited from class org.sonatype.scheduling.AbstractSchedulerTask
addParameter, checkInterruption, getLogger, getParameter, getParameters
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.sonatype.scheduling.SchedulerTask
addParameter, allowConcurrentExecution, allowConcurrentSubmission, getParameter, getParameters
 
Methods inherited from interface java.util.concurrent.Callable
call
 

Constructor Detail

DevkitReIndexerTask

@Inject
public DevkitReIndexerTask(org.sonatype.nexus.index.IndexerManager indexerManager,
                                  org.sonatype.nexus.proxy.registry.RepositoryRegistry repositories)
Method Detail

getRepositoryFieldId

protected String getRepositoryFieldId()
Overrides:
getRepositoryFieldId in class org.sonatype.nexus.scheduling.AbstractNexusRepositoriesTask<Object>

getAction

protected String getAction()
Specified by:
getAction in class org.sonatype.nexus.scheduling.AbstractNexusTask<Object>

getMessage

protected String getMessage()
Specified by:
getMessage in class org.sonatype.nexus.scheduling.AbstractNexusTask<Object>

doRun

protected Object doRun()
                throws Exception
Specified by:
doRun in class org.sonatype.nexus.scheduling.AbstractNexusTask<Object>
Throws:
Exception


Copyright © 2010–2014 MuleSoft, Inc.. All rights reserved.