|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecthudson.model.ManagementLink
com.sonyericsson.hudson.plugins.gerrit.trigger.GerritManagement
@Extension public class GerritManagement
Management link for configuring the global configuration of this trigger.
Nested Class Summary | |
---|---|
static class |
GerritManagement.DescriptorImpl
Descriptor is only used for UI form bindings. |
Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
---|
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
Field Summary |
---|
Fields inherited from class hudson.model.ManagementLink |
---|
LIST |
Fields inherited from interface hudson.model.Saveable |
---|
NOOP |
Constructor Summary | |
---|---|
GerritManagement()
|
Method Summary | |
---|---|
void |
doConfigSubmit(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
Saves the form to the configuration and disk. |
hudson.util.FormValidation |
doEmptyOrIntegerCheck(java.lang.String value)
Checks that the provided parameter is an empty string or an integer. |
hudson.util.FormValidation |
doIntegerCheck(java.lang.String value)
Checks that the provided parameter is an integer. |
hudson.util.FormValidation |
doPositiveIntegerCheck(java.lang.String value)
Checks that the provided parameter is an integer and not negative. |
hudson.util.FormValidation |
doUrlCheck(java.lang.String value)
Checks if the value is a valid URL. |
hudson.util.FormValidation |
doValidKeyFileCheck(java.lang.String value)
Checks to see if the provided value is a file path to a valid private key file. |
static GerritManagement |
get()
Returns this singleton. |
GerritAdministrativeMonitor |
getAdministrativeMonitor()
The AdministrativeMonitor related to Gerrit. |
static IGerritHudsonTriggerConfig |
getConfig()
Gets the global config. |
java.lang.String |
getDescription()
|
GerritManagement.DescriptorImpl |
getDescriptor()
|
java.lang.String |
getDisplayName()
|
java.lang.String |
getIconFileName()
|
java.lang.Object |
getTarget()
|
java.lang.String |
getUrlName()
|
void |
save()
|
Methods inherited from class hudson.model.ManagementLink |
---|
all |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GerritManagement()
Method Detail |
---|
public java.lang.String getIconFileName()
getIconFileName
in interface hudson.model.Action
getIconFileName
in class hudson.model.ManagementLink
public java.lang.String getUrlName()
getUrlName
in interface hudson.model.Action
getUrlName
in class hudson.model.ManagementLink
public java.lang.String getDisplayName()
getDisplayName
in interface hudson.model.Action
getDisplayName
in interface hudson.model.ModelObject
public java.lang.String getDescription()
getDescription
in class hudson.model.ManagementLink
public GerritManagement.DescriptorImpl getDescriptor()
getDescriptor
in interface hudson.model.Describable<GerritManagement>
public void doConfigSubmit(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) throws javax.servlet.ServletException, java.io.IOException, java.lang.InterruptedException
req
- StaplerRequestrsp
- StaplerResponse
javax.servlet.ServletException
- if something unfortunate happens.
java.io.IOException
- if something unfortunate happens.
java.lang.InterruptedException
- if something unfortunate happens.public hudson.util.FormValidation doPositiveIntegerCheck(@QueryParameter(value="value") java.lang.String value)
value
- the value.
FormValidation.validatePositiveInteger(String)
public hudson.util.FormValidation doIntegerCheck(@QueryParameter(value="value") java.lang.String value)
value
- the value.
FormValidation.validatePositiveInteger(String)
public hudson.util.FormValidation doEmptyOrIntegerCheck(@QueryParameter(value="value") java.lang.String value)
value
- the value.
FormValidation.validatePositiveInteger(String)
public hudson.util.FormValidation doUrlCheck(@QueryParameter(value="value") java.lang.String value)
value
- the value
FormValidation.ok()
if it is so.public hudson.util.FormValidation doValidKeyFileCheck(@QueryParameter(value="value") java.lang.String value)
value
- the value.
FormValidation.ok()
if it is so.public java.lang.Object getTarget()
getTarget
in interface org.kohsuke.stapler.StaplerProxy
public void save() throws java.io.IOException
save
in interface hudson.model.Saveable
java.io.IOException
public static GerritManagement get()
public static IGerritHudsonTriggerConfig getConfig()
PluginImpl.getConfig()
public GerritAdministrativeMonitor getAdministrativeMonitor()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |