Examples of RebuildAttributesTask


Examples of org.sonatype.nexus.tasks.RebuildAttributesTask

  @Override
  public void delete(Context context, Request request, Response response)
      throws ResourceException
  {
    RebuildAttributesTask task = getNexusScheduler().createTaskInstance(RebuildAttributesTask.class);

    String repositoryId = getRepositoryId(request);
    if (repositoryId == null) {
      repositoryId = getRepositoryGroupId(request);
    }
    task.setRepositoryId(repositoryId);

    task.setResourceStorePath(getResourceStorePath(request));

    this.handleDelete(task, request);
  }
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.