Class VManagerChartsLayoutStore

java.lang.Object
org.jenkinsci.plugins.vmanager.charts.util.VManagerChartsLayoutStore

public final class VManagerChartsLayoutStore extends Object
Persists the per-job dashboard layout (chart order and per-chart width) for the two chart pages (VManagerChartsAction and BuildChartAction).

Storage is one JSON file per scope, placed under Job.getRootDir() (i.e. $JENKINS_HOME/jobs/<job>/). One layout is shared by all users; the build-scope layout is shared by every build of the job.

The JSON shape is opaque to Java — just a string blob written by the dashboard JS and replayed back to it. Java only validates length and that it parses as a JSON object (see doSaveLayout on the action classes).