@Exported
public HostnameResolver getHostnameResolver() {
return hostnameResolver;
}
public Api getApi() {
<BUG>return Jenkins.getInstance().hasPermission(getRequiredPermission()) ? new Api(this) : null;
}</BUG>
@Exported
public String getExclusionPatterns() {
return exclusionPatterns;

@Exported
public int getPort() {
return port;
}
@Exported
public HostnameResolver getHostnameResolver() {
return hostnameResolver;
}
public Api getApi() {
return new Api(this);
}
@Exported
public String getExclusionPatterns() {
return exclusionPatterns;
