org.apache.maven.dotnet.executable
Class CommandFilter.Factory

java.lang.Object
  extended by org.apache.maven.dotnet.executable.CommandFilter.Factory
Enclosing interface:
CommandFilter

public static class CommandFilter.Factory
extends java.lang.Object

Provides factory methods for creating command filters.


Method Summary
static CommandFilter createDefaultCommandFilter(CommandCapability capability, org.codehaus.plexus.logging.Logger logger)
          Creates a default implementation of the command filter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createDefaultCommandFilter

public static CommandFilter createDefaultCommandFilter(CommandCapability capability,
                                                       org.codehaus.plexus.logging.Logger logger)
Creates a default implementation of the command filter. If the capability is null, then the filter method will return an empty list. In this implementation, the returned list from the CommandFilter.filteris the intersection of CommandCapability.getIncludes() and the specified commands parameter list.

Parameters:
capability - the executable/compiler options that are supported. This parameter may be null.
logger - the plexus logger. This parameter may be null.
Returns:
a default implemenation of the command filter


Copyright © 2007 NMaven. All Rights Reserved.