Package hudson.plugins.favoriteview
Class FavoriteViewsUserProperty
- java.lang.Object
-
- hudson.model.UserProperty
-
- hudson.plugins.favoriteview.FavoriteViewsUserProperty
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<UserProperty>
,ReconfigurableDescribable<UserProperty>
public class FavoriteViewsUserProperty extends UserProperty
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FavoriteViewsUserProperty.DescriptorImpl
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Field Summary
-
Fields inherited from class hudson.model.UserProperty
user
-
-
Constructor Summary
Constructors Constructor Description FavoriteViewsUserProperty()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isFavorite(String viewId)
UserProperty
reconfigure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject form)
void
setFavorite(String viewId, boolean favorite)
-
Methods inherited from class hudson.model.UserProperty
all, getDescriptor, setUser
-
-
-
-
Method Detail
-
isFavorite
public boolean isFavorite(String viewId)
-
setFavorite
public void setFavorite(String viewId, boolean favorite)
-
reconfigure
public UserProperty reconfigure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject form) throws Descriptor.FormException
- Specified by:
reconfigure
in interfaceReconfigurableDescribable<UserProperty>
- Overrides:
reconfigure
in classUserProperty
- Throws:
Descriptor.FormException
-
-