org.jenkinsci.lib.configprovider
Class AbstractConfigProvider

java.lang.Object
  extended by hudson.model.Descriptor<Config>
      extended by org.jenkinsci.lib.configprovider.ConfigProvider
          extended by org.jenkinsci.lib.configprovider.AbstractConfigProviderImpl
              extended by org.jenkinsci.lib.configprovider.AbstractConfigProvider
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Saveable

Deprecated. as of 1.2. Extend AbstractConfigProviderImpl directly.

public abstract class AbstractConfigProvider
extends AbstractConfigProviderImpl

Backward compatibility layer for old subtypes of ConfigProvider


Nested Class Summary
 
Nested classes/interfaces inherited from class hudson.model.Descriptor
hudson.model.Descriptor.FormException, hudson.model.Descriptor.PropertyType, hudson.model.Descriptor.Self
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Field Summary
protected  java.lang.String ID_PREFIX
          Deprecated.  
 
Fields inherited from class org.jenkinsci.lib.configprovider.AbstractConfigProviderImpl
configs
 
Fields inherited from class hudson.model.Descriptor
clazz
 
Fields inherited from interface hudson.model.Saveable
NOOP
 
Constructor Summary
AbstractConfigProvider()
          Deprecated.  
 
Method Summary
protected  hudson.XmlFile getConfigXml()
          Deprecated.  
 java.lang.String getProviderId()
          Deprecated. An ID uniquely identifying this provider, the id of each Config must start with this ID separated by a '.'!
protected  java.lang.String getXmlFileName()
          Deprecated.  
 void load()
          Deprecated. Overridden for backward compatibility to let subtype customize the file name.
 void save()
          Deprecated. Overridden for backward compatibility to let subtype customize the file name.
 
Methods inherited from class org.jenkinsci.lib.configprovider.AbstractConfigProviderImpl
getAllConfigs, getConfigById, isResponsibleFor, newConfig, remove, save
 
Methods inherited from class org.jenkinsci.lib.configprovider.ConfigProvider
all, getContentType
 
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, find, find, getCheckUrl, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getDisplayName, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getT, getViewPage, isInstance, isSubTypeOf, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, self, toArray, toList, toMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ID_PREFIX

protected final java.lang.String ID_PREFIX
Deprecated. 
Constructor Detail

AbstractConfigProvider

public AbstractConfigProvider()
Deprecated. 
Method Detail

getProviderId

public java.lang.String getProviderId()
Deprecated. 
Description copied from class: ConfigProvider
An ID uniquely identifying this provider, the id of each Config must start with this ID separated by a '.'!

Overrides:
getProviderId in class AbstractConfigProviderImpl
Returns:
the unique id for this provider.

save

public void save()
Deprecated. 
Overridden for backward compatibility to let subtype customize the file name.

Specified by:
save in interface hudson.model.Saveable
Overrides:
save in class AbstractConfigProviderImpl

load

public void load()
Deprecated. 
Overridden for backward compatibility to let subtype customize the file name.

Overrides:
load in class AbstractConfigProviderImpl

getConfigXml

protected hudson.XmlFile getConfigXml()
Deprecated. 
Overrides:
getConfigXml in class AbstractConfigProviderImpl

getXmlFileName

protected java.lang.String getXmlFileName()
Deprecated. 
Overrides:
getXmlFileName in class AbstractConfigProviderImpl


Copyright © 2004-2012. All Rights Reserved.