Class HubotFolderProperty
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<com.cloudbees.hudson.plugins.folder.AbstractFolderProperty<?>>
-
- com.cloudbees.hudson.plugins.folder.AbstractFolderProperty<com.cloudbees.hudson.plugins.folder.AbstractFolder<?>>
-
- org.thoughtslive.jenkins.plugins.hubot.config.HubotFolderProperty
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<com.cloudbees.hudson.plugins.folder.AbstractFolderProperty<?>>
,ReconfigurableDescribable<com.cloudbees.hudson.plugins.folder.AbstractFolderProperty<?>>
public class HubotFolderProperty extends com.cloudbees.hudson.plugins.folder.AbstractFolderProperty<com.cloudbees.hudson.plugins.folder.AbstractFolder<?>>
Provides folder level Hubot configuration.- Author:
- Naresh Rayapati
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
HubotFolderProperty.DescriptorImpl
Descriptor class.-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description HubotFolderProperty()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HubotSite[]
getSites()
Return the Hubot sites.com.cloudbees.hudson.plugins.folder.AbstractFolderProperty<?>
reconfigure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData)
void
setSites(HubotSite site)
Adds a Hubot site.
-
-
-
Method Detail
-
reconfigure
public com.cloudbees.hudson.plugins.folder.AbstractFolderProperty<?> reconfigure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData)
- Specified by:
reconfigure
in interfaceReconfigurableDescribable<com.cloudbees.hudson.plugins.folder.AbstractFolderProperty<?>>
- Overrides:
reconfigure
in classcom.cloudbees.hudson.plugins.folder.AbstractFolderProperty<com.cloudbees.hudson.plugins.folder.AbstractFolder<?>>
-
getSites
public HubotSite[] getSites()
Return the Hubot sites.- Returns:
- the Hubot sites
-
setSites
@DataBoundSetter public void setSites(HubotSite site)
Adds a Hubot site.- Parameters:
site
- the JIRA site
-
-