|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jenkinsci.lib.configprovider.model.Config
public class Config
Represents a particular configuration file and its content.
A Config object "belongs to" a ConfigProvider instance.
| Field Summary | |
|---|---|
String |
comment
Any note that the author of this configuration wants to associate with this. |
String |
content
Content of the file as-is. |
String |
id
a unique id along all providers! |
String |
name
Human readable display name that distinguishes this Config instance among
other Config instances. |
| Constructor Summary | |
|---|---|
Config(String id,
String name,
String comment,
String content)
|
|
| Method Summary | |
|---|---|
ConfigProvider |
getDescriptor()
Gets the ConfigProvider that owns and manages this config. |
ConfigProvider |
getProvider()
Alias for getProvider() |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public final String id
public final String name
Config instance among
other Config instances.
public final String comment
public final String content
| Constructor Detail |
|---|
@DataBoundConstructor
public Config(String id,
String name,
String comment,
String content)
| Method Detail |
|---|
public ConfigProvider getDescriptor()
ConfigProvider that owns and manages this config.
getDescriptor in interface hudson.model.Describable<Config>public ConfigProvider getProvider()
getProvider()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||