public class RepositoryGroup extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
private String |
cronExpression
default model value is empty so none
|
private String |
id
repository group Id
|
private String |
mergedIndexPath
The path of the merged index.
|
private int |
mergedIndexTtl
The TTL (time to live) of the repo group's merged index.
|
private List<String> |
repositories
repositories ids
|
Constructor and Description |
---|
RepositoryGroup() |
RepositoryGroup(String id,
List<String> repositories) |
Modifier and Type | Method and Description |
---|---|
void |
addRepository(String string)
Method addRepository.
|
RepositoryGroup |
cronExpression(String mergedIndexCronExpression) |
boolean |
equals(Object other) |
String |
getCronExpression() |
String |
getId()
Get the id of the repository group.
|
String |
getMergedIndexPath() |
int |
getMergedIndexTtl() |
List<String> |
getRepositories()
Method getRepositories.
|
int |
hashCode() |
RepositoryGroup |
mergedIndexPath(String mergedIndexPath) |
RepositoryGroup |
mergedIndexTtl(int mergedIndexTtl) |
void |
removeRepository(String string)
Method removeRepository.
|
void |
setCronExpression(String cronExpression) |
void |
setId(String id)
Set the id of the repository group.
|
void |
setMergedIndexPath(String mergedIndexPath) |
void |
setMergedIndexTtl(int mergedIndexTtl)
Set the TTL of the repo group's merged index.
|
void |
setRepositories(List<String> repositories)
Set the list of repository ids under the group.
|
String |
toString() |
private List<String> repositories
private String mergedIndexPath
private int mergedIndexTtl
private String cronExpression
public RepositoryGroup()
public RepositoryGroup(String id, List<String> repositories)
public void addRepository(String string)
string
- public List<String> getRepositories()
public void removeRepository(String string)
string
- public void setRepositories(List<String> repositories)
repositories
- public String getMergedIndexPath()
public void setMergedIndexPath(String mergedIndexPath)
public int getMergedIndexTtl()
public void setMergedIndexTtl(int mergedIndexTtl)
mergedIndexTtl
- public RepositoryGroup mergedIndexPath(String mergedIndexPath)
public RepositoryGroup mergedIndexTtl(int mergedIndexTtl)
public String getCronExpression()
public void setCronExpression(String cronExpression)
public RepositoryGroup cronExpression(String mergedIndexCronExpression)
Copyright © 2006–2023 The Apache Software Foundation. All rights reserved.