@ExportedBean(defaultVisibility=999)
public class FavoriteUserProperty
extends hudson.model.UserProperty
| Modifier and Type | Field and Description |
|---|---|
static hudson.model.UserPropertyDescriptor |
DESCRIPTOR |
| Constructor and Description |
|---|
FavoriteUserProperty() |
| Modifier and Type | Method and Description |
|---|---|
void |
addFavorite(String job) |
hudson.model.UserPropertyDescriptor |
getDescriptor() |
List<String> |
getFavorites() |
boolean |
isJobFavorite(String job) |
hudson.model.UserProperty |
reconfigure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject form) |
void |
removeFavorite(String job) |
void |
toggleFavorite(String job) |
@Extension public static final hudson.model.UserPropertyDescriptor DESCRIPTOR
public void addFavorite(String job) throws IOException
IOExceptionpublic void removeFavorite(String job) throws IOException
IOExceptionpublic void toggleFavorite(String job) throws IOException
IOExceptionpublic hudson.model.UserProperty reconfigure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject form)
throws hudson.model.Descriptor.FormException
reconfigure in interface hudson.model.ReconfigurableDescribable<hudson.model.UserProperty>reconfigure in class hudson.model.UserPropertyhudson.model.Descriptor.FormExceptionpublic boolean isJobFavorite(String job)
public hudson.model.UserPropertyDescriptor getDescriptor()
getDescriptor in interface hudson.model.Describable<hudson.model.UserProperty>getDescriptor in class hudson.model.UserPropertyCopyright © 2004-2013. All Rights Reserved.