net.sf.bloof.metrics
Interface Filter

All Known Implementing Classes:
DeveloperGroup, FileGroup, TimeInterval

public interface Filter

Filter Interface for Queries.

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

Field Summary
static java.lang.String[] DEFAULT_NAME_PREFIXES
          Filter type prefixes
static int DEVELOPER
          Filter types
static int FILE
          Filter types
static int TIMESPAN
          Filter types
 
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
 void setName(java.lang.String aName)
          Sets a name
 

Field Detail

FILE

public static final int FILE
Filter types

See Also:
Constant Field Values

DEVELOPER

public static final int DEVELOPER
Filter types

See Also:
Constant Field Values

TIMESPAN

public static final int TIMESPAN
Filter types

See Also:
Constant Field Values

DEFAULT_NAME_PREFIXES

public static final java.lang.String[] DEFAULT_NAME_PREFIXES
Filter type prefixes

Method Detail

getFilterType

public int getFilterType()
Returns the type of the filter, must be one of Filter.FILE, Filter.DEVELOPER, Filter.TIMESPAN

Returns:
type of the filter, must be one of Filter.FILE, Filter.DEVELOPER, Filter.TIMESPAN

getName

public java.lang.String getName()
Returns the name of the filter

Returns:
name of the Filter

getContent

public java.lang.String getContent()
Returns the content of the filter as string

Returns:
name of the Filter

setName

public void setName(java.lang.String aName)
Sets a name

Parameters:
aName - name to set


Copyright © 2003 bloof@Sourceforge. All Rights Reserved.