org.jenkinsci.plugins.graniteclient
Class JenkinsResponseProgressListener

java.lang.Object
  extended by org.jenkinsci.plugins.graniteclient.JenkinsResponseProgressListener
All Implemented Interfaces:
net.adamcin.granite.client.packman.ResponseProgressListener

public class JenkinsResponseProgressListener
extends Object
implements net.adamcin.granite.client.packman.ResponseProgressListener

Wraps a TaskListener in a ResponseProgressListener interface


Constructor Summary
JenkinsResponseProgressListener(hudson.model.TaskListener listener)
           
 
Method Summary
 void onError(String path, String error)
           
 void onLog(String message)
           
 void onMessage(String message)
           
 void onProgress(String action, String path)
           
 void onStart(String title)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JenkinsResponseProgressListener

public JenkinsResponseProgressListener(hudson.model.TaskListener listener)
Method Detail

onStart

public void onStart(String title)
Specified by:
onStart in interface net.adamcin.granite.client.packman.ResponseProgressListener

onLog

public void onLog(String message)
Specified by:
onLog in interface net.adamcin.granite.client.packman.ResponseProgressListener

onMessage

public void onMessage(String message)
Specified by:
onMessage in interface net.adamcin.granite.client.packman.ResponseProgressListener

onProgress

public void onProgress(String action,
                       String path)
Specified by:
onProgress in interface net.adamcin.granite.client.packman.ResponseProgressListener

onError

public void onError(String path,
                    String error)
Specified by:
onError in interface net.adamcin.granite.client.packman.ResponseProgressListener


Copyright © 2013-2014. All Rights Reserved.