public class ArtifactIndexingTask extends Object implements org.apache.archiva.components.taskqueue.Task
Modifier and Type | Class and Description |
---|---|
static class |
ArtifactIndexingTask.Action |
Constructor and Description |
---|
ArtifactIndexingTask(ManagedRepository repository,
Path resourceFile,
ArtifactIndexingTask.Action action,
ArchivaIndexingContext context) |
ArtifactIndexingTask(ManagedRepository repository,
Path resourceFile,
ArtifactIndexingTask.Action action,
ArchivaIndexingContext context,
boolean executeOnEntireRepo) |
ArtifactIndexingTask(ManagedRepository repository,
Path resourceFile,
ArtifactIndexingTask.Action action,
ArchivaIndexingContext context,
boolean executeOnEntireRepo,
boolean onlyUpdate) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
ArtifactIndexingTask |
executeOnEntireRepo(boolean executeOnEntireRepo) |
ArtifactIndexingTask.Action |
getAction() |
ArchivaIndexingContext |
getContext() |
long |
getMaxExecutionTime() |
ManagedRepository |
getRepository() |
Path |
getResourceFile() |
int |
hashCode() |
boolean |
isExecuteOnEntireRepo() |
boolean |
isOnlyUpdate() |
void |
setExecuteOnEntireRepo(boolean executeOnEntireRepo) |
void |
setOnlyUpdate(boolean onlyUpdate) |
String |
toString() |
public ArtifactIndexingTask(ManagedRepository repository, Path resourceFile, ArtifactIndexingTask.Action action, ArchivaIndexingContext context)
public ArtifactIndexingTask(ManagedRepository repository, Path resourceFile, ArtifactIndexingTask.Action action, ArchivaIndexingContext context, boolean executeOnEntireRepo)
public ArtifactIndexingTask(ManagedRepository repository, Path resourceFile, ArtifactIndexingTask.Action action, ArchivaIndexingContext context, boolean executeOnEntireRepo, boolean onlyUpdate)
public boolean isExecuteOnEntireRepo()
public void setExecuteOnEntireRepo(boolean executeOnEntireRepo)
public ArtifactIndexingTask executeOnEntireRepo(boolean executeOnEntireRepo)
public long getMaxExecutionTime()
getMaxExecutionTime
in interface org.apache.archiva.components.taskqueue.Task
public Path getResourceFile()
public ArtifactIndexingTask.Action getAction()
public ManagedRepository getRepository()
public ArchivaIndexingContext getContext()
public boolean isOnlyUpdate()
public void setOnlyUpdate(boolean onlyUpdate)
Copyright © 2006–2019 The Apache Software Foundation. All rights reserved.