org.hudsonci.rest.api.build
Class BuildConverter

java.lang.Object
  extended by org.hudsonci.rest.api.internal.ConverterSupport
      extended by org.hudsonci.rest.api.build.BuildConverter

public class BuildConverter
extends ConverterSupport

Converts a AbstractBuild into a BuildDTO object.

Since:
2.1.0
Author:
Jason Dillon

Field Summary
 
Fields inherited from class org.hudsonci.rest.api.internal.ConverterSupport
log
 
Constructor Summary
BuildConverter(SystemService systemService, CauseConverter causex)
           
 
Method Summary
 BuildDTO convert(AbstractBuild<?,?> source)
           
 BuildResultDTO convert(Result source)
           
 BuildDTO convert(Run<?,?> source)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BuildConverter

@Inject
public BuildConverter(SystemService systemService,
                             CauseConverter causex)
Method Detail

convert

public BuildDTO convert(AbstractBuild<?,?> source)

convert

public BuildDTO convert(Run<?,?> source)

convert

public BuildResultDTO convert(Result source)


Copyright © 2004-2011 Hudson. All Rights Reserved.