@Extension
public final class GlobalRabbitmqConfiguration
extends jenkins.model.GlobalConfiguration
| 修飾子とタイプ | フィールドと説明 |
|---|---|
static String |
CONTENT_NONE
The string in global configuration that indicates content is empty.
|
| コンストラクタと説明 |
|---|
GlobalRabbitmqConfiguration()
Create GlobalRabbitmqConfiguration from disk.
|
GlobalRabbitmqConfiguration(boolean enableConsumer,
String serviceUri,
List<RabbitmqConsumeItem> consumeItems,
boolean enableDebug)
Creates GlobalRabbitmqConfiguration instance with specified parameters.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject json) |
hudson.util.FormValidation |
doCheckServiceUri(String value)
Checks given URI is valid.
|
hudson.util.FormValidation |
doTestConnection(String serviceUri)
Tests connection to given URI.
|
static GlobalRabbitmqConfiguration |
get()
Gets this extension's instance.
|
List<RabbitmqConsumeItem> |
getConsumeItems()
Gets the list of
RabbitmqConsumeItem. |
String |
getDisplayName() |
String |
getServiceUri()
Gets URI for RabbitMQ service.
|
boolean |
isConsume(String queueName)
Gets specified queue is consumed or not.
|
boolean |
isEnableConsumer()
Gets whether this plugin is enabled or not.
|
boolean |
isEnableDebug()
Gets whether debug is enabled or not.
|
boolean |
isOpen()
Gets connection to service is established.
|
void |
setConsumeItems(List<RabbitmqConsumeItem> consumeItems)
Sets the list of
RabbitmqConsumeItem. |
void |
setServiceUri(String serviceUri)
Sets URI for RabbitMQ service.
|
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, getCheckUrl, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap@DataBoundConstructor
public GlobalRabbitmqConfiguration(boolean enableConsumer,
String serviceUri,
List<RabbitmqConsumeItem> consumeItems,
boolean enableDebug)
enableConsumer - if this feature is enabled.serviceUri - the service URI.consumeItems - the list of consumer items.enableDebug - true if debug is enabled.public GlobalRabbitmqConfiguration()
public String getDisplayName()
getDisplayName クラス内 jenkins.model.GlobalConfigurationpublic boolean configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject json)
throws hudson.model.Descriptor.FormException
configure クラス内 hudson.model.Descriptor<jenkins.model.GlobalConfiguration>hudson.model.Descriptor.FormExceptionpublic boolean isEnableDebug()
public boolean isEnableConsumer()
public String getServiceUri()
public void setServiceUri(String serviceUri)
serviceUri - the URI.public hudson.util.FormValidation doCheckServiceUri(@QueryParameter
String value)
value - the URI.public hudson.util.FormValidation doTestConnection(@QueryParameter(value="serviceUri")
String serviceUri)
throws javax.servlet.ServletException
serviceUri - the URI.javax.servlet.ServletException - exception for servlet.public List<RabbitmqConsumeItem> getConsumeItems()
RabbitmqConsumeItem.RabbitmqConsumeItempublic void setConsumeItems(List<RabbitmqConsumeItem> consumeItems)
RabbitmqConsumeItem.consumeItems - the list of RabbitmqConsumeItem@JavaScriptMethod public boolean isOpen()
@JavaScriptMethod public boolean isConsume(String queueName)
queueName - the queue name.public static GlobalRabbitmqConfiguration get()
Copyright © 2004-2013. All Rights Reserved.