Package hudson.model
Class PaneStatusProperties
- java.lang.Object
-
- hudson.model.UserProperty
-
- hudson.model.PaneStatusProperties
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<UserProperty>
,ReconfigurableDescribable<UserProperty>
,Saveable
public class PaneStatusProperties extends UserProperty implements Saveable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PaneStatusProperties.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 PaneStatusProperties()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PaneStatusProperties
forCurrentUser()
boolean
isCollapsed(String paneId)
void
save()
Persists the state of this object into XML.boolean
toggleCollapsed(String paneId)
-
Methods inherited from class hudson.model.UserProperty
all, getDescriptor, reconfigure, setUser
-
-
-
-
Method Detail
-
isCollapsed
public boolean isCollapsed(String paneId)
-
toggleCollapsed
public boolean toggleCollapsed(String paneId)
- Parameters:
paneId
- panel name- Returns:
- the actual state of panel
-
save
public void save() throws IOException
Description copied from interface:Saveable
Persists the state of this object into XML.For making a bulk change efficiently, see
BulkChange
.To support listeners monitoring changes to this object, call
SaveableListener.fireOnChange(hudson.model.Saveable, hudson.XmlFile)
- Specified by:
save
in interfaceSaveable
- Throws:
IOException
- if the persistence failed.
-
forCurrentUser
public static PaneStatusProperties forCurrentUser()
-
-