org.mevenide.goals.grabber
Class GoalsGrabbersAggregator

java.lang.Object
  extended by org.mevenide.goals.grabber.GoalsGrabbersAggregator
All Implemented Interfaces:
IGoalsGrabber

public class GoalsGrabbersAggregator
extends java.lang.Object
implements IGoalsGrabber

Version:
$Id: GoalsGrabberAggregator.java 6 sept. 2003 Exp gdodinet
Author:
Gilles Dodinet (gdodinet@wanadoo.fr)

Field Summary
 
Fields inherited from interface org.mevenide.goals.grabber.IGoalsGrabber
ORIGIN_PLUGIN, ORIGIN_PROJECT
 
Constructor Summary
GoalsGrabbersAggregator()
           
 
Method Summary
 void addGoalsGrabber(IGoalsGrabber goalsGrabber)
           
 java.lang.String getDescription(java.lang.String fullyQualifiedGoalName)
          return the description of plugin:goal
 java.lang.String[] getGoals(java.lang.String plugin)
          return the goals declared by the plugin whose name is passed as parameter
 java.util.List getGoalsGrabbers()
           
 java.lang.String getName()
           
 java.lang.String getOrigin(java.lang.String fullyQualifiedGoalName)
          will return where the goal is defined.
 java.lang.String[] getPlugins()
          return all available plugins
 java.lang.String[] getPrereqs(java.lang.String fullyQualifiedGoalName)
           
 void refresh()
           
 void removeGoalsGrabber(IGoalsGrabber goalsGrabber)
           
 void setGoalsGrabbers(java.util.List grabbers)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GoalsGrabbersAggregator

public GoalsGrabbersAggregator()
Method Detail

refresh

public void refresh()
             throws java.lang.Exception
Specified by:
refresh in interface IGoalsGrabber
Throws:
java.lang.Exception

getName

public java.lang.String getName()
Specified by:
getName in interface IGoalsGrabber

getOrigin

public java.lang.String getOrigin(java.lang.String fullyQualifiedGoalName)
Description copied from interface: IGoalsGrabber
will return where the goal is defined.

Specified by:
getOrigin in interface IGoalsGrabber
Returns:
ORIGIN_PLUGIN or ORIGIN_PROJECT

addGoalsGrabber

public void addGoalsGrabber(IGoalsGrabber goalsGrabber)

removeGoalsGrabber

public void removeGoalsGrabber(IGoalsGrabber goalsGrabber)

getDescription

public java.lang.String getDescription(java.lang.String fullyQualifiedGoalName)
Description copied from interface: IGoalsGrabber
return the description of plugin:goal

Specified by:
getDescription in interface IGoalsGrabber

getGoals

public java.lang.String[] getGoals(java.lang.String plugin)
Description copied from interface: IGoalsGrabber
return the goals declared by the plugin whose name is passed as parameter

Specified by:
getGoals in interface IGoalsGrabber
Returns:
Collection

getPlugins

public java.lang.String[] getPlugins()
Description copied from interface: IGoalsGrabber
return all available plugins

Specified by:
getPlugins in interface IGoalsGrabber
Returns:
Collection

getPrereqs

public java.lang.String[] getPrereqs(java.lang.String fullyQualifiedGoalName)
Specified by:
getPrereqs in interface IGoalsGrabber

getGoalsGrabbers

public java.util.List getGoalsGrabbers()

setGoalsGrabbers

public void setGoalsGrabbers(java.util.List grabbers)


Copyright © 2003-2005 The Codehaus. All Rights Reserved.