com.sonyericsson.hudson.plugins.gerrit.gerritevents.workers
Class StreamEventsStringWork

java.lang.Object
  extended by com.sonyericsson.hudson.plugins.gerrit.gerritevents.workers.AbstractGerritEventWork
      extended by com.sonyericsson.hudson.plugins.gerrit.gerritevents.workers.AbstractJsonObjectWork
          extended by com.sonyericsson.hudson.plugins.gerrit.gerritevents.workers.StreamEventsStringWork
All Implemented Interfaces:
Work

public class StreamEventsStringWork
extends AbstractJsonObjectWork

Top of the hierarchies of work, converts the string to JSON if it is interesting and usable. And then hands the work over to AbstractJsonObjectWork.

Author:
Robert Sandell <robert.sandell@sonyericsson.com>

Constructor Summary
StreamEventsStringWork(String line)
          Default constructor.
 
Method Summary
 void perform(Coordinator coordinator)
          Does the work.
 String toString()
           
 
Methods inherited from class com.sonyericsson.hudson.plugins.gerrit.gerritevents.workers.AbstractJsonObjectWork
perform
 
Methods inherited from class com.sonyericsson.hudson.plugins.gerrit.gerritevents.workers.AbstractGerritEventWork
perform
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StreamEventsStringWork

public StreamEventsStringWork(String line)
Default constructor.

Parameters:
line - a line of text from the stream-events stream of events.
Method Detail

perform

public void perform(Coordinator coordinator)
Description copied from interface: Work
Does the work.

Parameters:
coordinator - a reference to the coordinator.

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2004-2012 Hudson. All Rights Reserved.