|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecthudson.model.Descriptor<hudson.triggers.Trigger<?>>
hudson.triggers.TriggerDescriptor
com.technicolor.eloyente.ElOyente.DescriptorImpl
@Extension public static final class ElOyente.DescriptorImpl
Descriptor for ElOyente. Used as a singleton. The class is marked
as public so that it can be accessed from views.
See src/main/resources/hudson/plugins/eloyente/elOyente/*.jelly for the actual HTML fragment for the configuration screen.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class hudson.model.Descriptor |
|---|
hudson.model.Descriptor.FormException, hudson.model.Descriptor.PropertyType, hudson.model.Descriptor.Self |
| Field Summary | |
|---|---|
boolean |
reloading
|
| Fields inherited from class hudson.model.Descriptor |
|---|
clazz |
| Fields inherited from interface hudson.model.Saveable |
|---|
NOOP |
| Constructor Summary | |
|---|---|
ElOyente.DescriptorImpl()
Brings the persisted configuration in the main configuration. |
|
| Method Summary | |
|---|---|
boolean |
configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData)
Invoked when the global configuration page is submitted.. |
hudson.util.FormValidation |
doCheckPassword(String user,
String password,
String server)
Performs on-the-fly validation of the form fields 'user' and 'password'. |
hudson.util.FormValidation |
doCheckServer(String server)
Performs on-the-fly validation of the form field 'server'. |
hudson.util.ListBoxModel |
doFillNodeItems(String name)
Fill the drop-down called "nodesAvailable" of the config.jelly |
hudson.util.ListBoxModel |
doFillNodesSubItems()
|
String |
getDisplayName()
Human readable name of this kind of configurable object. |
String |
getPassword()
This method returns the password for the XMPP connection. |
boolean |
getReloading()
Used for knowing if a job is using the start() method because it is loading or the configuration has changed and it is being reloaded. |
String |
getServer()
This method returns the URL of the XMPP server. |
String |
getUser()
This method returns the username for the XMPP connection. |
boolean |
isApplicable(hudson.model.Item item)
Returns true if this task is applicable to the given project. |
void |
reloadJobs()
This method reloads the jobs that are using ElOyente applying the new main configuration. |
void |
report()
Used for logging to the log file. |
| Methods inherited from class hudson.model.Descriptor |
|---|
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, getCheckUrl, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public boolean reloading
| Constructor Detail |
|---|
public ElOyente.DescriptorImpl()
| Method Detail |
|---|
public boolean isApplicable(hudson.model.Item item)
isApplicable in class hudson.triggers.TriggerDescriptoritem -
public String getDisplayName()
getDisplayName in class hudson.model.Descriptor<hudson.triggers.Trigger<?>>
public boolean configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData)
throws hudson.model.Descriptor.FormException
configure in class hudson.model.Descriptor<hudson.triggers.Trigger<?>>req - formData// - public void listen(Node node, Trigger trigger) { //
ItemEventCoordinator itemEventCoordinator = new
ItemEventCoordinator(node.getId(), trigger); //
node.addItemEventListener(itemEventCoordinator); // }
Descriptor.FormExceptionpublic void reloadJobs()
public void report()
public String getServer()
public String getUser()
public String getPassword()
public boolean getReloading()
public hudson.util.FormValidation doCheckServer(@QueryParameter
String server)
server -
public hudson.util.FormValidation doCheckPassword(@QueryParameter
String user,
@QueryParameter
String password,
@QueryParameter
String server)
user - password -
public hudson.util.ListBoxModel doFillNodeItems(@QueryParameter(value="name")
String name)
throws org.jivesoftware.smack.XMPPException,
InterruptedException
name: - name of the job
org.jivesoftware.smack.XMPPException
InterruptedException
public hudson.util.ListBoxModel doFillNodesSubItems()
throws org.jivesoftware.smack.XMPPException,
InterruptedException
org.jivesoftware.smack.XMPPException
InterruptedException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||