org.apache.archiva.indexer.merger
Class IndexMergerRequest

java.lang.Object
  extended by org.apache.archiva.indexer.merger.IndexMergerRequest

public class IndexMergerRequest
extends Object

Author:
Olivier Lamy

Field Summary
private  String groupId
          original groupId (repositoryGroup id)
private  String mergedIndexPath
           
private  int mergedIndexTtl
           
private  boolean packIndex
          will generate a downloadable index
private  Collection<String> repositoriesIds
          repositories Ids to merge content
 
Constructor Summary
IndexMergerRequest(Collection<String> repositoriesIds, boolean packIndex, String groupId)
           
IndexMergerRequest(Collection<String> repositoriesIds, boolean packIndex, String groupId, String mergedIndexPath, int mergedIndexTtl)
           
 
Method Summary
 String getGroupId()
           
 String getMergedIndexPath()
           
 int getMergedIndexTtl()
           
 Collection<String> getRepositoriesIds()
           
 boolean isPackIndex()
           
 void setGroupId(String groupId)
           
 void setMergedIndexPath(String mergedIndexPath)
           
 void setMergedIndexTtl(int mergedIndexTtl)
           
 void setPackIndex(boolean packIndex)
           
 void setRepositoriesIds(Collection<String> repositoriesIds)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

repositoriesIds

private Collection<String> repositoriesIds
repositories Ids to merge content


packIndex

private boolean packIndex
will generate a downloadable index


groupId

private String groupId
original groupId (repositoryGroup id)


mergedIndexPath

private String mergedIndexPath

mergedIndexTtl

private int mergedIndexTtl
Constructor Detail

IndexMergerRequest

public IndexMergerRequest(Collection<String> repositoriesIds,
                          boolean packIndex,
                          String groupId)

IndexMergerRequest

public IndexMergerRequest(Collection<String> repositoriesIds,
                          boolean packIndex,
                          String groupId,
                          String mergedIndexPath,
                          int mergedIndexTtl)
Since:
1.4-M4
Method Detail

getRepositoriesIds

public Collection<String> getRepositoriesIds()

setRepositoriesIds

public void setRepositoriesIds(Collection<String> repositoriesIds)

isPackIndex

public boolean isPackIndex()

setPackIndex

public void setPackIndex(boolean packIndex)

getGroupId

public String getGroupId()

setGroupId

public void setGroupId(String groupId)

getMergedIndexPath

public String getMergedIndexPath()

setMergedIndexPath

public void setMergedIndexPath(String mergedIndexPath)

getMergedIndexTtl

public int getMergedIndexTtl()

setMergedIndexTtl

public void setMergedIndexTtl(int mergedIndexTtl)

toString

public String toString()
Overrides:
toString in class Object


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