|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecthudson.model.Descriptor<GerritManagement>
com.sonyericsson.hudson.plugins.gerrit.trigger.GerritManagement.DescriptorImpl
@Extension public static final class GerritManagement.DescriptorImpl
Descriptor is only used for UI form bindings.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class hudson.model.Descriptor |
---|
hudson.model.Descriptor.FormException, hudson.model.Descriptor.PropertyType |
Field Summary |
---|
Fields inherited from class hudson.model.Descriptor |
---|
clazz |
Fields inherited from interface hudson.model.Saveable |
---|
NOOP |
Constructor Summary | |
---|---|
GerritManagement.DescriptorImpl()
|
Method Summary | |
---|---|
hudson.util.FormValidation |
doRestartConnection()
Stops the event connection to Gerrit. |
hudson.util.FormValidation |
doStartConnection()
Starts the event connection to Gerrit. |
hudson.util.FormValidation |
doStopConnection()
Stops the event connection to Gerrit. |
hudson.util.FormValidation |
doTestConnection(String gerritHostName,
int gerritSshPort,
String gerritUserName,
String gerritAuthKeyFile,
String gerritAuthKeyFilePassword)
Tests if the provided parameters can connect to Gerrit. |
String |
getDisplayName()
|
Methods inherited from class hudson.model.Descriptor |
---|
calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, find, find, getCheckUrl, getConfigPage, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getPropertyType, getPropertyType, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, toArray, toList, toMap |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GerritManagement.DescriptorImpl()
Method Detail |
---|
public String getDisplayName()
getDisplayName
in class hudson.model.Descriptor<GerritManagement>
public hudson.util.FormValidation doStartConnection()
public hudson.util.FormValidation doStopConnection()
public hudson.util.FormValidation doRestartConnection()
public hudson.util.FormValidation doTestConnection(@QueryParameter(value="gerritHostName") String gerritHostName, @QueryParameter(value="gerritSshPort") int gerritSshPort, @QueryParameter(value="gerritUserName") String gerritUserName, @QueryParameter(value="gerritAuthKeyFile") String gerritAuthKeyFile, @QueryParameter(value="gerritAuthKeyFilePassword") String gerritAuthKeyFilePassword)
gerritHostName
- the hostnamegerritSshPort
- the ssh-portgerritUserName
- the usernamegerritAuthKeyFile
- the private key filegerritAuthKeyFilePassword
- the password for the keyfile or null if there is none.
FormValidation.ok()
if can be done,
FormValidation.error(java.lang.String)
otherwise.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |