org.apache.archiva.configuration
Class RepositoryGroupConfiguration

java.lang.Object
  extended by org.apache.archiva.configuration.RepositoryGroupConfiguration
All Implemented Interfaces:
Serializable

public class RepositoryGroupConfiguration
extends Object
implements Serializable

Class RepositoryGroupConfiguration.

Version:
$Revision$ $Date$
See Also:
Serialized Form

Field Summary
private  String id
          The id of the repository group.
private  String mergedIndexPath
          The path of the merged index.
private  int mergedIndexTtl
          The time to live of the merged index of the repository group.
private  List<String> repositories
          Field repositories.
 
Constructor Summary
RepositoryGroupConfiguration()
           
 
Method Summary
 void addRepository(String string)
          Method addRepository.
 String getId()
          Get the id of the repository group.
 String getMergedIndexPath()
          Get the path of the merged index.
 int getMergedIndexTtl()
          Get the time to live of the merged index of the repository group.
 List<String> getRepositories()
          Method getRepositories.
 void removeRepository(String string)
          Method removeRepository.
 void setId(String id)
          Set the id of the repository group.
 void setMergedIndexPath(String mergedIndexPath)
          Set the path of the merged index.
 void setMergedIndexTtl(int mergedIndexTtl)
          Set the time to live of the merged index of the repository group.
 void setRepositories(List<String> repositories)
          Set the list of repository ids under the group.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

private String id
The id of the repository group.


mergedIndexPath

private String mergedIndexPath
The path of the merged index.


mergedIndexTtl

private int mergedIndexTtl
The time to live of the merged index of the repository group.


repositories

private List<String> repositories
Field repositories.

Constructor Detail

RepositoryGroupConfiguration

public RepositoryGroupConfiguration()
Method Detail

addRepository

public void addRepository(String string)
Method addRepository.

Parameters:
string -

getId

public String getId()
Get the id of the repository group.

Returns:
String

getMergedIndexPath

public String getMergedIndexPath()
Get the path of the merged index.

Returns:
String

getMergedIndexTtl

public int getMergedIndexTtl()
Get the time to live of the merged index of the repository group.

Returns:
int

getRepositories

public List<String> getRepositories()
Method getRepositories.

Returns:
List

removeRepository

public void removeRepository(String string)
Method removeRepository.

Parameters:
string -

setId

public void setId(String id)
Set the id of the repository group.

Parameters:
id -

setMergedIndexPath

public void setMergedIndexPath(String mergedIndexPath)
Set the path of the merged index.

Parameters:
mergedIndexPath -

setMergedIndexTtl

public void setMergedIndexTtl(int mergedIndexTtl)
Set the time to live of the merged index of the repository group.

Parameters:
mergedIndexTtl -

setRepositories

public void setRepositories(List<String> repositories)
Set the list of repository ids under the group.

Parameters:
repositories -


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