package Ġcom . github . m ikes af on ov . jenkins . linter . settings Ċ Ċ import Ġcom . intellij . openapi . components . Persistent State Component Ċ import Ġcom . intellij . openapi . components . Service Manager Ċ import Ġcom . intellij . openapi . components . State Ċ import Ġcom . intellij . openapi . components . Storage Ċ import Ġcom . intellij . util . xml b . Xml Serializer Util Ċ Ċ /** Ċ Ġ* Ġ@ author ĠM ike ĠS af on ov Ċ Ġ*/ Ċ @ State ( name Ġ= Ġ" J enkins L inter State ", Ġstorage s Ġ= Ġ[ Storage (" J enkins L inter . xml ") ]) Ċ class ĠJenkins L inter State Ġ: ĠPersistent State Component < J enkins L inter State > Ġ{ ĊĠĠĠ Ġvar Ġjenkins Url Ġ= Ġ"" ĊĊĠĠĠ Ġcompanion Ġobject Ġ{ ĊĠĠĠĠĠĠĠ Ġfun ĠgetInstance () Ġ= ĠService Manager . getService ( J enkins L inter State :: class . java ) !! ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun ĠgetState (): ĠJenkins L inter State Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġthis ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġload State ( state : ĠJenkins L inter State ) Ġ{ ĊĠĠĠĠĠĠĠ ĠXml Serializer Util . copy Bean ( state , Ġthis ) ĊĠĠĠ Ġ} Ċ } Ċ