|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecthudson.model.ManagementLink
hudson.plugins.pxe.PXE
@Extension public class PXE
This object is bound to "/pxe" and handles all the UI work.
| Nested Class Summary | |
|---|---|
static class |
PXE.DescriptorImpl
Descriptor is only used for UI form bindings |
static class |
PXE.NIC
|
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
|---|
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
| Field Summary | |
|---|---|
static java.lang.String |
ROOT_URL
If for some reason the default root URL won't do --- for example, maybe you need to address the server by its IP. |
| Fields inherited from class hudson.model.ManagementLink |
|---|
LIST |
| Fields inherited from interface hudson.model.Saveable |
|---|
NOOP |
| Constructor Summary | |
|---|---|
PXE()
|
|
| Method Summary | |
|---|---|
void |
doConfigSubmit(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
|
void |
doDoApprove(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
|
void |
doProgressiveLog(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
Handles incremental log output. |
static PXE |
get()
|
java.util.Set<MacAddress> |
getAddressesThatRequireApproval()
|
hudson.util.DescribableList<BootConfiguration,BootConfigurationDescriptor> |
getBootConfigurations()
|
hudson.remoting.VirtualChannel |
getChannel()
|
BootConfiguration |
getConfiguration(java.lang.String id)
Looks up BootConfiguration by its id. |
protected hudson.XmlFile |
getConfigXml()
|
DaemonService |
getDaemonService()
|
hudson.util.FormValidation |
getDaemonStatus()
Obtains the status of the daemon. |
java.lang.String |
getDescription()
|
PXE.DescriptorImpl |
getDescriptor()
|
java.util.Collection<BootConfigurationDescriptor> |
getDescriptors()
All registered descriptors exposed for UI |
java.lang.String |
getDisplayName()
|
java.lang.String |
getIconFileName()
|
java.io.File |
getLogFile()
|
java.util.List<PXE.NIC> |
getNICs()
Because DHCP proxy doesn't know which interface the DHCP request was received, it cannot determine by itself what IP address the PXE client can use to reach us. |
hudson.util.Secret |
getRootPassword()
|
java.lang.String |
getRootUserName()
|
java.lang.Object |
getTarget()
Access to this object requires the admin permission. |
java.lang.String |
getTftpAddress()
|
java.lang.String |
getUrlName()
|
boolean |
isRespondSelectively()
|
boolean |
isRespondToAll()
|
protected void |
load()
|
void |
restartPXE()
|
void |
save()
|
void |
setRespondSelectively(boolean respondSelectively)
|
void |
setRootAccount(java.lang.String userName,
hudson.util.Secret password)
|
void |
setTftpAddress(java.lang.String address)
|
| Methods inherited from class hudson.model.ManagementLink |
|---|
all |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static java.lang.String ROOT_URL
| Constructor Detail |
|---|
public PXE()
throws java.io.IOException,
java.lang.InterruptedException
java.io.IOException
java.lang.InterruptedException| Method Detail |
|---|
public java.lang.String getIconFileName()
getIconFileName in interface hudson.model.ActiongetIconFileName in class hudson.model.ManagementLinkpublic java.lang.String getDescription()
getDescription in class hudson.model.ManagementLinkpublic java.lang.String getUrlName()
getUrlName in interface hudson.model.ActiongetUrlName in class hudson.model.ManagementLinkpublic java.lang.String getDisplayName()
getDisplayName in interface hudson.model.ActiongetDisplayName in interface hudson.model.ModelObjectpublic java.lang.String getRootUserName()
public hudson.util.Secret getRootPassword()
public hudson.util.DescribableList<BootConfiguration,BootConfigurationDescriptor> getBootConfigurations()
public void setTftpAddress(java.lang.String address)
throws java.io.IOException
java.io.IOExceptionpublic java.lang.String getTftpAddress()
public boolean isRespondSelectively()
public boolean isRespondToAll()
public void setRespondSelectively(boolean respondSelectively)
throws java.io.IOException
java.io.IOExceptionpublic java.util.Set<MacAddress> getAddressesThatRequireApproval()
public hudson.remoting.VirtualChannel getChannel()
public DaemonService getDaemonService()
public java.io.File getLogFile()
public void restartPXE()
throws java.io.IOException,
java.lang.InterruptedException
java.io.IOException
java.lang.InterruptedException
public void setRootAccount(java.lang.String userName,
hudson.util.Secret password)
throws java.io.IOException
java.io.IOExceptionpublic hudson.util.FormValidation getDaemonStatus()
public java.util.Collection<BootConfigurationDescriptor> getDescriptors()
public BootConfiguration getConfiguration(java.lang.String id)
BootConfiguration by its id.
Primarily used to bind them to URL.
public java.lang.Object getTarget()
getTarget in interface org.kohsuke.stapler.StaplerProxy
public void doConfigSubmit(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
throws javax.servlet.ServletException,
java.io.IOException,
java.lang.InterruptedException
javax.servlet.ServletException
java.io.IOException
java.lang.InterruptedException
public void doDoApprove(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
throws javax.servlet.ServletException,
java.text.ParseException,
java.io.IOException
javax.servlet.ServletException
java.text.ParseException
java.io.IOException
public void doProgressiveLog(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
throws java.io.IOException
java.io.IOExceptionpublic PXE.DescriptorImpl getDescriptor()
getDescriptor in interface hudson.model.Describable<PXE>
public java.util.List<PXE.NIC> getNICs()
throws java.net.SocketException
This method lists all the interfaces
java.net.SocketException
protected void load()
throws java.io.IOException
java.io.IOException
public void save()
throws java.io.IOException
save in interface hudson.model.Saveablejava.io.IOExceptionprotected hudson.XmlFile getConfigXml()
public static PXE get()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||