com.redhat.rhn.domain.kickstart
Class KickstartableTree
java.lang.Object
com.redhat.rhn.domain.BaseDomainHelper
com.redhat.rhn.domain.kickstart.KickstartableTree
public class KickstartableTree
- extends BaseDomainHelper
KickstartableTree
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KickstartableTree
public KickstartableTree()
getBasePath
public java.lang.String getBasePath()
- Returns:
- Returns the basePath.
setBasePath
public void setBasePath(java.lang.String b)
- Parameters:
b - The basePath to set.
getBootImage
public java.lang.String getBootImage()
- Returns:
- Returns the bootImage.
setBootImage
public void setBootImage(java.lang.String b)
- Parameters:
b - The bootImage to set.
getChannel
public Channel getChannel()
- Returns:
- Returns the channel.
setChannel
public void setChannel(Channel c)
- Parameters:
c - The channel to set.
getId
public java.lang.Long getId()
- Returns:
- Returns the id.
setId
public void setId(java.lang.Long i)
- Parameters:
i - The id to set.
getInstallType
public KickstartInstallType getInstallType()
- Returns:
- Returns the installType.
setInstallType
public void setInstallType(KickstartInstallType i)
- Parameters:
i - The installType to set.
getLabel
public java.lang.String getLabel()
- Returns:
- Returns the label.
setLabel
public void setLabel(java.lang.String l)
- Parameters:
l - The label to set.
getLastModified
public java.util.Date getLastModified()
- Returns:
- Returns the lastModified.
setLastModified
public void setLastModified(java.util.Date l)
- Parameters:
l - The lastModified to set.
getOrgId
public java.lang.Long getOrgId()
- Returns:
- Returns the orgId.
setOrgId
public void setOrgId(java.lang.Long o)
- Parameters:
o - The orgId to set.
getTreeType
public KickstartTreeType getTreeType()
- Returns:
- Returns the treeType.
setTreeType
public void setTreeType(KickstartTreeType t)
- Parameters:
t - The treeType to set.
isRhnTree
public boolean isRhnTree()
- Check to see if this tree is 'owned' by RHN and hosted
by this Spacewalk.
- Returns:
- boolean if this tree is owned or not by RHN
getDefaultDownloadLocation
public java.lang.String getDefaultDownloadLocation(java.lang.String host)
- Get the default download location for this KickstartableTree.
eg: http://rlx-3-10.rhndev.redhat.com/rhn/kickstart/ks-rhel-i386-as-4
- Parameters:
host - used to Kickstart from
- Returns:
- String url
basePathIsUrl
public boolean basePathIsUrl()
- Check if the tree's base path is a fully qualified URL or just a relative path.
- Returns:
- True if base path is a URL.