|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecthudson.model.Descriptor<hudson.model.JobProperty<?>>
hudson.model.JobPropertyDescriptor
jenkins.plugins.jobicon.CustomIconProperty.DescriptorImpl
@Extension public static final class CustomIconProperty.DescriptorImpl
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class hudson.model.Descriptor |
|---|
hudson.model.Descriptor.FormException, hudson.model.Descriptor.PropertyType, hudson.model.Descriptor.Self |
| Field Summary |
|---|
| Fields inherited from class hudson.model.Descriptor |
|---|
clazz |
| Fields inherited from interface hudson.model.Saveable |
|---|
NOOP |
| Constructor Summary | |
|---|---|
CustomIconProperty.DescriptorImpl()
|
|
| Method Summary | |
|---|---|
void |
doStartUpload(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
Serves the upload form |
void |
doUpload(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp,
String job)
Upload an image file. |
String |
getDisplayName()
|
List<String> |
getIcons()
Retrieves the list of available icons. |
List<List<String>> |
getIconsAsListOfList(int colCount)
Return a matrix of icon filenames. |
boolean |
isApplicable(Class<? extends hudson.model.Job> jobType)
|
boolean |
isIconListEmpty()
Indicates if any icon has been loaded. |
CustomIconProperty |
newInstance(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData)
|
| Methods inherited from class hudson.model.JobPropertyDescriptor |
|---|
all, getPropertyDescriptors |
| Methods inherited from class hudson.model.Descriptor |
|---|
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, find, find, getCheckUrl, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPossibleViewNames, getPropertyType, getPropertyType, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CustomIconProperty.DescriptorImpl()
| Method Detail |
|---|
public String getDisplayName()
getDisplayName in class hudson.model.Descriptor<hudson.model.JobProperty<?>>public boolean isApplicable(Class<? extends hudson.model.Job> jobType)
isApplicable in class hudson.model.JobPropertyDescriptor
public CustomIconProperty newInstance(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData)
throws hudson.model.Descriptor.FormException
newInstance in class hudson.model.JobPropertyDescriptorhudson.model.Descriptor.FormException
public void doStartUpload(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
throws IOException,
javax.servlet.ServletException
req - the stapler requestrsp - the stapler response
IOException
javax.servlet.ServletException
public void doUpload(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp,
@QueryParameter
String job)
throws IOException,
javax.servlet.ServletException,
InterruptedException,
NoSuchAlgorithmException
req - the stapler requestrsp - the stapler responsejob - the job name
IOException
javax.servlet.ServletException
InterruptedException
NoSuchAlgorithmException
public List<String> getIcons()
throws IOException,
InterruptedException
IOException - if an error occurs while reading the icons directory
InterruptedException
public boolean isIconListEmpty()
throws IOException,
InterruptedException
true if no icon is available, false otherwise
IOException - if an error occurs while reading the icons directory
InterruptedException
public List<List<String>> getIconsAsListOfList(int colCount)
throws IOException,
InterruptedException
colCount - the number of columns of the matrix.
IOException - if an error occurs while reading the icons directory
InterruptedException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||