org.jenkinsci.plugins.karotz
クラス KarotzClient

java.lang.Object
  上位を拡張 org.jenkinsci.plugins.karotz.KarotzClient

public class KarotzClient
extends Object

KarotzClient class.

作成者:
William Durand

コンストラクタの概要
KarotzClient(String apiKey, String secretKey, String installId)
          Default constructor.
 
メソッドの概要
 void addActionDuration(long duration)
           
 String doRequest(String url)
          Sends cmd to Karotz using ReST.
 String getInteractiveId()
           
 boolean isInteractive()
           
 String parseResponse(String response, String tagName)
          Parses response from karotz.
 void startInteractiveMode()
           
 void stopInteractiveMode()
           
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

KarotzClient

public KarotzClient(String apiKey,
                    String secretKey,
                    String installId)
Default constructor.

パラメータ:
apiKey - application APIKey
secretKey - application SecretKey
installId - application Install ID
メソッドの詳細

getInteractiveId

public String getInteractiveId()

isInteractive

public boolean isInteractive()

startInteractiveMode

public void startInteractiveMode()
                          throws KarotzException
例外:
KarotzException

stopInteractiveMode

public void stopInteractiveMode()
                         throws KarotzException
例外:
KarotzException

doRequest

public String doRequest(String url)
                 throws KarotzException
Sends cmd to Karotz using ReST.

パラメータ:
url - Karotz webAPI URL
戻り値:
response
例外:
KarotzException - Network or karotz trouble.

parseResponse

public String parseResponse(String response,
                            String tagName)
                     throws KarotzException
Parses response from karotz.

パラメータ:
response - response from karotz
tagName -
戻り値:
tag value
例外:
KarotzException - illega response

addActionDuration

public void addActionDuration(long duration)


Copyright © 2004-2012. All Rights Reserved.