org.apache.archiva.scheduler.repository.model
Class RepositoryTask

java.lang.Object
  extended by org.apache.archiva.scheduler.repository.model.RepositoryTask
All Implemented Interfaces:
org.apache.archiva.redback.components.taskqueue.Task

public class RepositoryTask
extends Object
implements org.apache.archiva.redback.components.taskqueue.Task

DataRefreshTask - task for discovering changes in the repository and updating all associated data.


Field Summary
private  String repositoryId
           
private  File resourceFile
           
private  boolean scanAll
           
private  boolean updateRelatedArtifacts
           
 
Constructor Summary
RepositoryTask()
           
 
Method Summary
 boolean equals(Object obj)
           
 long getMaxExecutionTime()
           
 String getRepositoryId()
           
 File getResourceFile()
           
 int hashCode()
           
 boolean isScanAll()
           
 boolean isUpdateRelatedArtifacts()
           
 void setRepositoryId(String repositoryId)
           
 void setResourceFile(File resourceFile)
           
 void setScanAll(boolean scanAll)
           
 void setUpdateRelatedArtifacts(boolean updateRelatedArtifacts)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

repositoryId

private String repositoryId

resourceFile

private File resourceFile

updateRelatedArtifacts

private boolean updateRelatedArtifacts

scanAll

private boolean scanAll
Constructor Detail

RepositoryTask

public RepositoryTask()
Method Detail

isScanAll

public boolean isScanAll()

setScanAll

public void setScanAll(boolean scanAll)

getRepositoryId

public String getRepositoryId()

setRepositoryId

public void setRepositoryId(String repositoryId)

getMaxExecutionTime

public long getMaxExecutionTime()
Specified by:
getMaxExecutionTime in interface org.apache.archiva.redback.components.taskqueue.Task

getResourceFile

public File getResourceFile()

setResourceFile

public void setResourceFile(File resourceFile)

isUpdateRelatedArtifacts

public boolean isUpdateRelatedArtifacts()

setUpdateRelatedArtifacts

public void setUpdateRelatedArtifacts(boolean updateRelatedArtifacts)

toString

public String toString()
Overrides:
toString in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2006-2013 The Apache Software Foundation. All Rights Reserved.