public class DistributionDetails extends Object
| Constructor and Description |
|---|
DistributionDetails(String labelIn,
String disttypeIn) |
DistributionDetails(String labelIn,
String distpathIn,
String disttypeIn) |
| Modifier and Type | Method and Description |
|---|---|
void |
addFile(DistributionFileDetails file) |
void |
addFiles(List<DistributionFileDetails> filesIn) |
String |
getDescription()
Returns a user-readable description of what the distribution contains.
|
String |
getDistributionPath()
Return the distribution path on filesystem
|
String |
getDistributionType()
Returns the distribution type.
|
List<DistributionFileDetails> |
getFiles() |
String |
getLabel()
Returns the identifying name of the distribution.
|
void |
setDescription(String description)
Sets the name of the user-readable description of the distribution.
|
void |
setDistributionPath(String distpath)
sets the distribution path value for a single distribution instance
|
void |
setDistributionType(String distType) |
void |
setFiles(List<DistributionFileDetails> filesIn) |
void |
setLabel(String label)
Sets the name of the distribution being represented.
|
String |
toString() |
public void addFile(DistributionFileDetails file)
public void addFiles(List<DistributionFileDetails> filesIn)
public List<DistributionFileDetails> getFiles()
public void setFiles(List<DistributionFileDetails> filesIn)
public String getLabel()
nullpublic void setLabel(String label)
label - cannot be nullIllegalArgumentException - is name is nullpublic String getDistributionType()
nullpublic void setDistributionType(String distType)
distType - may be nullpublic String getDescription()
nullpublic void setDescription(String description)
description - may be nullpublic String getDistributionPath()
public void setDistributionPath(String distpath)
distpath - distribution pathCopyright © 2008-2013 Red Hat, Inc.. All Rights Reserved.