public class RepositoryGroupConfiguration extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
private String |
cronExpression
When to run the index merging for this group.
|
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 and Description |
---|
RepositoryGroupConfiguration() |
Modifier and Type | Method and Description |
---|---|
void |
addRepository(String string)
Method addRepository.
|
String |
getCronExpression()
Get when to run the index merging for this group.
|
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 |
setCronExpression(String cronExpression)
Set when to run the index merging for this group.
|
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.
|
private String mergedIndexPath
private int mergedIndexTtl
private String cronExpression
private List<String> repositories
public RepositoryGroupConfiguration()
public void addRepository(String string)
string
- public String getCronExpression()
public String getMergedIndexPath()
public int getMergedIndexTtl()
public List<String> getRepositories()
public void removeRepository(String string)
string
- public void setCronExpression(String cronExpression)
cronExpression
- public void setMergedIndexPath(String mergedIndexPath)
mergedIndexPath
- public void setMergedIndexTtl(int mergedIndexTtl)
mergedIndexTtl
- public void setRepositories(List<String> repositories)
repositories
- Copyright © 2006–2023 The Apache Software Foundation. All rights reserved.