public class Endpoint extends Object
| Modifier and Type | Field and Description |
|---|---|
static Integer |
DEFAULT_TIMEOUT |
| Constructor and Description |
|---|
Endpoint(Protocol protocol,
String url,
String event,
Format format,
Integer timeout) |
| Modifier and Type | Method and Description |
|---|---|
hudson.util.FormValidation |
doCheckURL(String url) |
String |
getEvent() |
Format |
getFormat() |
Protocol |
getProtocol() |
int |
getTimeout() |
String |
getUrl() |
boolean |
isJson() |
void |
setEvent(String event) |
void |
setFormat(Format format) |
void |
setProtocol(Protocol protocol) |
void |
setTimeout(Integer timeout) |
void |
setUrl(String url) |
String |
toString() |
public static final Integer DEFAULT_TIMEOUT
public int getTimeout()
public void setTimeout(Integer timeout)
public Protocol getProtocol()
public void setProtocol(Protocol protocol)
public String getUrl()
public void setUrl(String url)
public String getEvent()
public void setEvent(String event)
public Format getFormat()
public void setFormat(Format format)
public hudson.util.FormValidation doCheckURL(@QueryParameter(value="url",fixEmpty=true)
String url)
public boolean isJson()
Copyright © 2004-2014. All Rights Reserved.