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