|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.model.Descriptor<ToolInstallation>
hudson.tools.ToolDescriptor<T>
public abstract class ToolDescriptor<T extends ToolInstallation>
Descriptor for ToolInstallation.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class hudson.model.Descriptor |
|---|
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self |
| Field Summary |
|---|
| Fields inherited from class hudson.model.Descriptor |
|---|
clazz |
| Fields inherited from interface hudson.model.Saveable |
|---|
NOOP |
| Constructor Summary | |
|---|---|
ToolDescriptor()
|
|
| Method Summary | |
|---|---|
boolean |
configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject json)
Invoked when the global configuration page is submitted. |
List<? extends ToolInstaller> |
getDefaultInstallers()
Optional list of installers to be configured by default for new tools of this type. |
DescribableList<ToolProperty<?>,ToolPropertyDescriptor> |
getDefaultProperties()
Default value for ToolInstallation.getProperties() used in the form binding. |
T[] |
getInstallations()
Configured instances of ToolInstallations. |
List<ToolPropertyDescriptor> |
getPropertyDescriptors()
Lists up ToolPropertyDescriptors that are applicable to this ToolInstallation. |
void |
setInstallations(T... installations)
Overwrites ToolInstallations. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ToolDescriptor()
| Method Detail |
|---|
public T[] getInstallations()
ToolInstallations.
public void setInstallations(T... installations)
ToolInstallations.
installations - list of installations;
can be empty but never null.public List<ToolPropertyDescriptor> getPropertyDescriptors()
ToolPropertyDescriptors that are applicable to this ToolInstallation.
public List<? extends ToolInstaller> getDefaultInstallers()
public DescribableList<ToolProperty<?>,ToolPropertyDescriptor> getDefaultProperties()
throws IOException
ToolInstallation.getProperties() used in the form binding.
IOException
public boolean configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject json)
throws Descriptor.FormException
Descriptor
configure in class Descriptor<ToolInstallation>json - The JSON object that captures the configuration data for this Descriptor.
See http://wiki.jenkins-ci.org/display/JENKINS/Structured+Form+Submission
Descriptor.FormException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||