hudson.plugins.campfire
Class Campfire

java.lang.Object
  extended by hudson.plugins.campfire.Campfire

public class Campfire
extends Object


Constructor Summary
Campfire(String subdomain, String token, boolean ssl)
           
 
Method Summary
 Room findOrCreateRoomByName(String name)
           
 Room findRoomByName(String name)
           
 String get(String url)
           
protected  org.apache.commons.httpclient.HttpClient getClient()
           
protected  String getHost()
           
protected  String getProtocol()
           
 String getSubdomain()
           
 String getToken()
           
 int post(String url, String body)
           
 boolean verify(int returnCode)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Campfire

public Campfire(String subdomain,
                String token,
                boolean ssl)
Method Detail

getClient

protected org.apache.commons.httpclient.HttpClient getClient()

getHost

protected String getHost()

getSubdomain

public String getSubdomain()

getToken

public String getToken()

getProtocol

protected String getProtocol()

post

public int post(String url,
                String body)

get

public String get(String url)

verify

public boolean verify(int returnCode)

findRoomByName

public Room findRoomByName(String name)

findOrCreateRoomByName

public Room findOrCreateRoomByName(String name)


Copyright © 2004-2012. All Rights Reserved.