public class PaneStatusProperties extends UserProperty implements Saveable
Modifier and Type | Class and Description |
---|---|
static class |
PaneStatusProperties.DescriptorImpl |
ExtensionPoint.LegacyInstancesAreScopedToHudson
user
Constructor and Description |
---|
PaneStatusProperties() |
Modifier and Type | Method and Description |
---|---|
static PaneStatusProperties |
forCurrentUser() |
boolean |
isCollapsed(String paneId) |
void |
save()
Persists the state of this object into XML.
|
boolean |
toggleCollapsed(String paneId) |
all, getDescriptor, reconfigure
public boolean isCollapsed(String paneId)
public boolean toggleCollapsed(String paneId) throws IOException
paneId
- panel nameIOException
public void save() throws IOException
Saveable
For making a bulk change efficiently, see BulkChange
.
To support listeners monitoring changes to this object, call SaveableListener#fireOnChange
save
in interface Saveable
IOException
- if the persistence failed.public static PaneStatusProperties forCurrentUser()
Copyright © 2016. All rights reserved.