|
||||||||||
| 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(String name)
|
|
RepoDetails(String name,
String parentRepoName)
|
|
| Method Summary | |
|---|---|
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()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RepoDetails(String name)
public RepoDetails(String name,
String parentRepoName)
| Method Detail |
|---|
public String getName()
nullpublic void setName(String name)
name - cannot be null
IllegalArgumentException - 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 grouppublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||