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