com.sonyericsson.hudson.plugins.gerrit.gerritevents.workers
Class StreamEventsStringWork
java.lang.Object
com.sonyericsson.hudson.plugins.gerrit.gerritevents.workers.AbstractGerritEventWork
com.sonyericsson.hudson.plugins.gerrit.gerritevents.workers.AbstractJsonObjectWork
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>
StreamEventsStringWork
public StreamEventsStringWork(String line)
- Default constructor.
- Parameters:
line - a line of text from the stream-events stream of events.
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.