hudson.plugins.ui_samples
Class UISample

java.lang.Object
  extended by hudson.plugins.ui_samples.UISample
All Implemented Interfaces:
ExtensionPoint, Action, Describable<UISample>, ModelObject
Direct Known Subclasses:
AutoCompleteTextBox, DropdownList, DynamicComboBox, DynamicDropDownListBox, JavaScriptProxy

public abstract class UISample
extends java.lang.Object
implements ExtensionPoint, Action, Describable<UISample>

Author:
Kohsuke Kawaguchi

Nested Class Summary
 class UISample.SourceFile
           
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Constructor Summary
UISample()
           
 
Method Summary
static ExtensionList<UISample> all()
          Returns all the registered UISamples.
 void doSourceFile(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)
          Binds UISample.SourceFiles into URL.
abstract  java.lang.String getDescription()
          Returns a paragraph of natural text that describes this sample.
 UISampleDescriptor getDescriptor()
           
 java.lang.String getDisplayName()
          Default display name.
 java.lang.String getIconFileName()
           
 java.util.List<UISample.SourceFile> getSourceFiles()
          Source files associated with this sample.
 java.lang.String getUrlName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UISample

public UISample()
Method Detail

getIconFileName

public java.lang.String getIconFileName()
Specified by:
getIconFileName in interface Action

getUrlName

public java.lang.String getUrlName()
Specified by:
getUrlName in interface Action

getDisplayName

public java.lang.String getDisplayName()
Default display name.

Specified by:
getDisplayName in interface Action
Specified by:
getDisplayName in interface ModelObject

getSourceFiles

public java.util.List<UISample.SourceFile> getSourceFiles()
Source files associated with this sample.


doSourceFile

public void doSourceFile(org.kohsuke.stapler.StaplerRequest req,
                         org.kohsuke.stapler.StaplerResponse rsp)
                  throws java.io.IOException
Binds UISample.SourceFiles into URL.

Throws:
java.io.IOException

getDescription

public abstract java.lang.String getDescription()
Returns a paragraph of natural text that describes this sample. Interpreted as HTML.


getDescriptor

public UISampleDescriptor getDescriptor()
Specified by:
getDescriptor in interface Describable<UISample>

all

public static ExtensionList<UISample> all()
Returns all the registered UISamples.



Copyright © 2004-2011. All Rights Reserved.