public class RepoDetails extends Object
RepoSource interface. The parent-child relationship between repos is done through the call to
setParentRepoName(String).| Constructor and Description |
|---|
RepoDetails(String name) |
RepoDetails(String name,
String parentRepoName) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Returns a user-readable description of what the repo contains.
|
String |
getName()
Returns the identifying name of the repo.
|
String |
getParentRepoName()
Returns the name (identifier) of the parent repo for this repo.
|
String |
getRepoGroup()
Returns the name (used to identify the group in the server) of the group the repo should be belong to
when it is imported.
|
void |
setDescription(String description)
Sets the name of the user-readable description of the repo contents.
|
void |
setName(String name)
Sets the name of the repo being represented.
|
void |
setParentRepoName(String parentRepoName)
Sets the name of the parent repo to associate this repo with.
|
void |
setRepoGroup(String repoGroup)
Sets the name of the group to assign this repo to.
|
String |
toString() |
public RepoDetails(String name)
public String getName()
nullpublic void setName(String name)
name - cannot be nullIllegalArgumentException - is name is nullpublic String getParentRepoName()
getName() on the parent repo.nullpublic void setParentRepoName(String parentRepoName)
getParentRepoName() for more
details.parentRepoName - may be nullpublic String getDescription()
nullpublic void setDescription(String description)
description - may be nullpublic String getRepoGroup()
nullpublic void setRepoGroup(String repoGroup)
repoGroup - may be null to indicate the repo does not belong to a groupCopyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.