net.sf.bloof.metrics
Class DeveloperGroup

java.lang.Object
  |
  +--net.sf.bloof.metrics.DeveloperGroup
All Implemented Interfaces:
Filter

public class DeveloperGroup
extends java.lang.Object
implements Filter

Represents a group of developers. Acts as filter for a Metric

Version:
$Id: DeveloperGroup.java,v 1.5 2003/09/06 08:35:09 pekacki Exp $
Author:
Lukasz Pekacki

Field Summary
 
Fields inherited from interface net.sf.bloof.metrics.Filter
DEFAULT_NAME_PREFIXES, DEVELOPER, FILE, TIMESPAN
 
Constructor Summary
DeveloperGroup(java.lang.String[] aDevelNames, java.lang.String aName)
          Default constructor
 
Method Summary
 java.lang.String getContent()
          Returns the content of the filter as string
 int getFilterType()
          Returns the type of the filter, must be one of Filter.FILE, Filter.DEVELOPER, Filter.TIMESPAN
 java.lang.String getName()
          Returns the name of the filter
 java.lang.String[] getNames()
          Returns the names of the developers in this filter
 void setName(java.lang.String aName)
          Sets a name
 java.lang.String toString()
          (non-Javadoc)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DeveloperGroup

public DeveloperGroup(java.lang.String[] aDevelNames,
                      java.lang.String aName)
Default constructor

Parameters:
aDevelNames - names of developers
aName - name of the group
Method Detail

getContent

public java.lang.String getContent()
Description copied from interface: Filter
Returns the content of the filter as string

Specified by:
getContent in interface Filter
Returns:
name of the Filter
See Also:
Object.toString( )

getFilterType

public int getFilterType()
Description copied from interface: Filter
Returns the type of the filter, must be one of Filter.FILE, Filter.DEVELOPER, Filter.TIMESPAN

Specified by:
getFilterType in interface Filter
Returns:
type of the filter, must be one of Filter.FILE, Filter.DEVELOPER, Filter.TIMESPAN
See Also:
Filter.getFilterType()

getName

public java.lang.String getName()
Description copied from interface: Filter
Returns the name of the filter

Specified by:
getName in interface Filter
Returns:
name of the Filter
See Also:
Filter.getName( )

getNames

public java.lang.String[] getNames()
Returns the names of the developers in this filter

Returns:
names of the developers in this filter

setName

public void setName(java.lang.String aName)
Description copied from interface: Filter
Sets a name

Specified by:
setName in interface Filter
Parameters:
aName - name to set
See Also:
Filter.setName(java.lang.String)

toString

public java.lang.String toString()
(non-Javadoc)

Overrides:
toString in class java.lang.Object
See Also:
Object.toString()


Copyright © 2003 bloof@Sourceforge. All Rights Reserved.