org.hudsonci.maven.plugin.ui.gwt.buildinfo.internal
Class BuildInformationManagerImpl

java.lang.Object
  extended by org.hudsonci.maven.plugin.ui.gwt.buildinfo.internal.BuildInformationManagerImpl
All Implemented Interfaces:
BuildInformationManager

@Singleton
public class BuildInformationManagerImpl
extends Object
implements BuildInformationManager

Default implementation of BuildInformationManager.

Since:
2.1.0
Author:
Jamie Whitehouse

Constructor Summary
BuildInformationManagerImpl(BuildCoordinates buildCoordinates, BuildStateService buildStateService, com.google.gwt.event.shared.EventBus eventBus, ArtifactDataProvider adp, WaitPresenter waiter, ServiceFailureNotifier serviceFailureNotifier)
           
 
Method Summary
 Collection<ArtifactDTO> getConsumedArtifacts(String moduleId)
          Restructure to handle async requests for if/when this is used in a separate service request.
 Collection<ArtifactDTO> getProducedArtifacts(String moduleId)
           
 void refresh()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BuildInformationManagerImpl

@Inject
public BuildInformationManagerImpl(BuildCoordinates buildCoordinates,
                                          BuildStateService buildStateService,
                                          com.google.gwt.event.shared.EventBus eventBus,
                                          ArtifactDataProvider adp,
                                          WaitPresenter waiter,
                                          ServiceFailureNotifier serviceFailureNotifier)
Method Detail

refresh

public void refresh()
Specified by:
refresh in interface BuildInformationManager

getConsumedArtifacts

public Collection<ArtifactDTO> getConsumedArtifacts(String moduleId)
Restructure to handle async requests for if/when this is used in a separate service request. Something like publishing an Event on the EventBus that there's now artifact data for a module.

Specified by:
getConsumedArtifacts in interface BuildInformationManager

getProducedArtifacts

public Collection<ArtifactDTO> getProducedArtifacts(String moduleId)
Specified by:
getProducedArtifacts in interface BuildInformationManager


Copyright © 2004-2011 Hudson. All Rights Reserved.