Class HubotSite
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<HubotSite>
-
- org.thoughtslive.jenkins.plugins.hubot.config.HubotSite
-
- All Implemented Interfaces:
Describable<HubotSite>,Serializable,Cloneable
public class HubotSite extends AbstractDescribableImpl<HubotSite> implements Serializable, Cloneable
Represents a configuration needed to connect to Hubot.- Author:
- Naresh Rayapati
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classHubotSite.DescriptorImpl
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description HubotSiteclone()static HubotSiteget(Job<?,?> job, TaskListener listener)Gets the effectiveHubotSiteassociated with the given project.static HubotSiteget(Job<?,?> job, TaskListener listener, String siteName)-
Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
-
-
-
Method Detail
-
get
public static HubotSite get(Job<?,?> job, TaskListener listener)
Gets the effectiveHubotSiteassociated with the given project.- Returns:
- null if no such was found.
-
get
public static HubotSite get(Job<?,?> job, TaskListener listener, String siteName)
-
clone
public HubotSite clone() throws CloneNotSupportedException
- Overrides:
clonein classObject- Throws:
CloneNotSupportedException
-
-