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 class
HubotSite.DescriptorImpl
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description HubotSite
clone()
static HubotSite
get(Job<?,?> job, TaskListener listener)
Gets the effectiveHubotSite
associated with the given project.static HubotSite
get(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 effectiveHubotSite
associated 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:
clone
in classObject
- Throws:
CloneNotSupportedException
-
-