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 classPaneStatusProperties.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 PaneStatusPropertiesforCurrentUser()booleanisCollapsed(String paneId)voidsave()Persists the state of this object into XML.booleantoggleCollapsed(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 IOExceptionDescription copied from interface:SaveablePersists 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:
savein interfaceSaveable- Throws:
IOException- if the persistence failed.
-
forCurrentUser
public static PaneStatusProperties forCurrentUser()
-
-