|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.rhq.enterprise.server.plugin.pc.content.RepoDetails
public class RepoDetails
Contains the information used to describe a single repo being introduced to the system through the
RepoSource interface. The parent-child relationship between repos is done through the call to
setParentRepoName(String).
| Constructor Summary | |
|---|---|
RepoDetails(java.lang.String name)
|
|
RepoDetails(java.lang.String name,
java.lang.String parentRepoName)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getDescription()
Returns a user-readable description of what the repo contains. |
java.lang.String |
getName()
Returns the identifying name of the repo. |
java.lang.String |
getParentRepoName()
Returns the name (identifier) of the parent repo for this repo. |
java.lang.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(java.lang.String description)
Sets the name of the user-readable description of the repo contents. |
void |
setName(java.lang.String name)
Sets the name of the repo being represented. |
void |
setParentRepoName(java.lang.String parentRepoName)
Sets the name of the parent repo to associate this repo with. |
void |
setRepoGroup(java.lang.String repoGroup)
Sets the name of the group to assign this repo to. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RepoDetails(java.lang.String name)
public RepoDetails(java.lang.String name,
java.lang.String parentRepoName)
| Method Detail |
|---|
public java.lang.String getName()
nullpublic void setName(java.lang.String name)
name - cannot be null
java.lang.IllegalArgumentException - is name is nullpublic java.lang.String getParentRepoName()
getName() on the parent repo.
nullpublic void setParentRepoName(java.lang.String parentRepoName)
getParentRepoName() for more
details.
parentRepoName - may be nullpublic java.lang.String getDescription()
nullpublic void setDescription(java.lang.String description)
description - may be nullpublic java.lang.String getRepoGroup()
nullpublic void setRepoGroup(java.lang.String repoGroup)
repoGroup - may be null to indicate the repo does not belong to a group
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||