hudson.plugins.pxe
Class ZipBasedBootConfiguration

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

public abstract class ZipBasedBootConfiguration
extends BootConfiguration

Convenient partial BootConfiguration implementation that uses a zip file as the backend of the image storage.

Author:
Kohsuke Kawaguchi

Nested Class Summary
static class ZipBasedBootConfiguration.ZipBasedBootConfigurationDescriptor
           
 
Field Summary
 java.io.File zip
          Location of the ZIP image file.
 
Constructor Summary
protected ZipBasedBootConfiguration(java.io.File zip)
           
 
Method Summary
 ZipTree doImage()
           
 void doIndex(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)
           
 ZipBasedBootConfiguration.ZipBasedBootConfigurationDescriptor 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

zip

public final java.io.File zip
Location of the ZIP image file.

Constructor Detail

ZipBasedBootConfiguration

protected ZipBasedBootConfiguration(java.io.File zip)
Method Detail

getRelease

public java.lang.String getRelease()

doImage

public ZipTree 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 ZipBasedBootConfiguration.ZipBasedBootConfigurationDescriptor getDescriptor()
Specified by:
getDescriptor in interface hudson.model.Describable<BootConfiguration>
Overrides:
getDescriptor in class BootConfiguration


Copyright © 2010. All Rights Reserved.