hudson.model
Interface Saveable

All Known Subinterfaces:
BuildableItem, BuildableItemWithBuildWrappers, DescribableList.Owner, IAbstractProject, IBaseBuildableProject, ICascadingJob<T>, IFreeStyleProject, IJob<JobT>, IMatrixProject, IProject, Item, ItemGroup<T>, PersistenceRoot, SCMedItem, TopLevelItem, ViewGroup
All Known Implementing Classes:
AbstractBuild, AbstractItem, AbstractNodeMonitorDescriptor, AbstractProject, AbstractProject.AbstractProjectDescriptor, AggregatedTestResultPublisher.DescriptorImpl, AllView.DescriptorImpl, Ant.AntInstallation.DescriptorImpl, Ant.AntInstaller.DescriptorImpl, Ant.DescriptorImpl, AntOutcomeNote.DescriptorImpl, AntTargetNote.DescriptorImpl, ArchitectureMonitor.DescriptorImpl, ArtifactArchiver.DescriptorImpl, AuthorizationMatrixProperty.DescriptorImpl, AuthorizationStrategy.Unsecured.DescriptorImpl, AxisDescriptor, BaseBuildableProject, BatchFile.DescriptorImpl, BooleanParameterDefinition.DescriptorImpl, Build, BuildButtonColumn.DescriptorImpl, BuildStepDescriptor, BuildTrigger.DescriptorImpl, BuildWrapperDescriptor, CaptchaSupportDescriptor, ChoiceParameterDefinition.DescriptorImpl, CommandConnector.DescriptorImpl, CommandInstaller.DescriptorImpl, CommandLauncher.DescriptorImpl, ComputerConnectorDescriptor, ConsoleAnnotationDescriptor, ConsoleColumn.DescriptorImpl, CrumbIssuerDescriptor, DefaultAxisDescriptor, DefaultCrumbIssuer.DescriptorImpl, DefaultMyViewsTabBar.DescriptorImpl, DefaultViewsTabBar.DescriptorImpl, DelegatingComputerLauncher.DescriptorImpl, Descriptor, DownloadFromUrlInstaller.DescriptorImpl, DownloadService, DumbSlave.DescriptorImpl, EnvironmentVariablesNodeProperty.DescriptorImpl, ExpandableDetailsNote.DescriptorImpl, ExternalJob, ExternalJob.DescriptorImpl, ExternalRun, FileParameterDefinition.DescriptorImpl, FileSystemProvisioner.Default.DescriptorImpl, FileSystemProvisionerDescriptor, Fingerprint, Fingerprinter.DescriptorImpl, FreeStyleBuild, FreeStyleProject, FreeStyleProject.DescriptorImpl, GlobalMatrixAuthorizationStrategy.DescriptorImpl, GraphSupportDescriptor, Hudson, Hudson.DescriptorImpl, HudsonExceptionNote.DescriptorImpl, HudsonPrivateSecurityRealm.DescriptorImpl, HudsonPrivateSecurityRealm.Details.DescriptorImpl, HudsonSecurityManager, HyperlinkNote.DescriptorImpl, InstallSourceProperty.DescriptorImpl, JavadocArchiver.DescriptorImpl, JDK.DescriptorImpl, JDKAxis.DescriptorImpl, JDKInstaller.DescriptorImpl, Job, JobColumn.DescriptorImpl, JobParameterDefinition.DescriptorImpl, JobPropertyDescriptor, JUnitResultArchiver.DescriptorImpl, LabelAtom, LabelAtomPropertyDescriptor, LabelAxis.DescriptorImpl, LastDurationColumn.DescriptorImpl, LastFailureColumn.DescriptorImpl, LastStableColumn.DescriptorImpl, LastSuccessColumn.DescriptorImpl, LDAPSecurityRealm.DescriptorImpl, ListView, ListView.DescriptorImpl, ListViewColumnDescriptor, LogRecorder, LogRotator.LRDescriptor, Mailer.DescriptorImpl, Mailer.UserProperty.DescriptorImpl, MarkupFormatterDescriptor, MatrixBuild, MatrixConfiguration, MatrixProject, MatrixProject.DescriptorImpl, MatrixRun, Maven.DescriptorImpl, Maven.MavenInstallation.DescriptorImpl, Maven.MavenInstaller.DescriptorImpl, MavenErrorNote.DescriptorImpl, MavenMojoNote.DescriptorImpl, MavenWarningNote.DescriptorImpl, MyView.DescriptorImpl, MyViewsProperty, MyViewsProperty.DescriptorImpl, MyViewsTabBarDescriptor, NativeMacSupportDescriptor, NativeUnixSupportDescriptor, NativeWindowsSupportDescriptor, NativeZfsSupportDescriptor, NodeDescriptor, NodePropertyDescriptor, NullSCM.DescriptorImpl, PageDecorator, PAMSecurityRealm.DescriptorImpl, ParameterDefinition.ParameterDescriptor, ParametersDefinitionProperty.DescriptorImpl, PasswordParameterDefinition.ParameterDescriptorImpl, Plugin, Plugin.DummyImpl, Project, PropertyDescriptor, ProxyConfiguration, ProxyView.DescriptorImpl, Queue, RawHtmlMarkupFormatter.DescriptorImpl, RetentionStrategy.Always.DescriptorImpl, RetentionStrategy.Demand.DescriptorImpl, Run, RunParameterDefinition.DescriptorImpl, SCMDescriptor, SCMTrigger.DescriptorImpl, ScriptSupportDescriptor, Shell.DescriptorImpl, SimpleScheduledRetentionStrategy.DescriptorImpl, Slave.SlaveDescriptor, StatusColumn.DescriptorImpl, StringParameterDefinition.DescriptorImpl, TextAxis.DescriptorImpl, TimerTrigger.DescriptorImpl, ToolDescriptor, ToolInstallerDescriptor, ToolLocationNodeProperty.DescriptorImpl, ToolPropertyDescriptor, TopLevelItemDescriptor, TreeView, TreeView.DescriptorImpl, TriggerDescriptor, UpdateCenter, UpdateCenter.PageDecoratorImpl, UsageStatistics, User, UserPropertyDescriptor, ViewDescriptor, ViewJob, ViewsTabBarDescriptor, WeatherColumn.DescriptorImpl, ZFSProvisioner.DescriptorImpl, ZipExtractionInstaller.DescriptorImpl

public interface Saveable

Object whose state is persisted to XML.

Since:
1.249
Author:
Kohsuke Kawaguchi
See Also:
BulkChange

Field Summary
static Saveable NOOP
          Saveable that doesn't save anything.
 
Method Summary
 void save()
          Persists the state of this object into XML.
 

Field Detail

NOOP

static final Saveable NOOP
Saveable that doesn't save anything.

Since:
1.301.
Method Detail

save

void save()
          throws IOException
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(Saveable, hudson.XmlFile)

Throws:
IOException - if the persistence failed.


Copyright © 2004-2013 Hudson. All Rights Reserved.