hudson.plugins.pxe
Class IsoBasedBootConfiguration

java.lang.Object
  extended by hudson.model.AbstractModelObject
      extended by hudson.plugins.pxe.BootConfiguration
          extended by hudson.plugins.pxe.IsoBasedBootConfiguration
All Implemented Interfaces:
hudson.model.Describable<BootConfiguration>, hudson.model.ModelObject, hudson.search.SearchableModelObject, hudson.search.SearchItem
Direct Known Subclasses:
LinuxBootConfiguration, OpenSolarisBootConfiguration, VMWareESXiBootConfiguration

public abstract class IsoBasedBootConfiguration
extends BootConfiguration

Convenient partial BootConfiguration implementation that uses an ISO file as the backend of the image storage.

Author:
Kohsuke Kawaguchi

Nested Class Summary
protected static class IsoBasedBootConfiguration.FileEntryData
          Data wrapper for FileEntry.
static class IsoBasedBootConfiguration.IsoBasedBootConfigurationDescriptor
           
 
Field Summary
 java.io.File iso
          Location of the CD/DVD image file.
 
Constructor Summary
protected IsoBasedBootConfiguration(java.io.File iso)
           
 
Method Summary
 ISO9660Tree doImage()
           
 void doIndex(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)
           
 IsoBasedBootConfiguration.IsoBasedBootConfigurationDescriptor getDescriptor()
           
 java.lang.String getDisplayName()
           
 java.lang.String getRelease()
           
 
Methods inherited from class hudson.plugins.pxe.BootConfiguration
all, getAbsoluteUrl, getId, getIdSeed, getPxeLinuxConfigFragment, getResourceAsStream, getSearchUrl, getUrl, shutdown, tftp
 
Methods inherited from class hudson.model.AbstractModelObject
getSearch, getSearchIndex, getSearchName, makeSearchIndex, requirePOST, sendError, sendError, sendError, sendError, sendError
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

iso

public final java.io.File iso
Location of the CD/DVD image file.

Constructor Detail

IsoBasedBootConfiguration

protected IsoBasedBootConfiguration(java.io.File iso)
Method Detail

getRelease

public java.lang.String getRelease()

doImage

public ISO9660Tree doImage()

doIndex

public void doIndex(org.kohsuke.stapler.StaplerRequest req,
                    org.kohsuke.stapler.StaplerResponse rsp)
             throws java.io.IOException
Throws:
java.io.IOException

getDisplayName

public java.lang.String getDisplayName()

getDescriptor

public IsoBasedBootConfiguration.IsoBasedBootConfigurationDescriptor getDescriptor()
Specified by:
getDescriptor in interface hudson.model.Describable<BootConfiguration>
Overrides:
getDescriptor in class BootConfiguration


Copyright © 2010. All Rights Reserved.