org.apache.maven.shared.model.fileset
Class Mapper

java.lang.Object
  extended by org.apache.maven.shared.model.fileset.Mapper
All Implemented Interfaces:
Serializable

public class Mapper
extends Object
implements Serializable

Class Mapper.

Version:
$Revision$ $Date$
See Also:
Serialized Form

Constructor Summary
Mapper()
           
 
Method Summary
 String getClassname()
          Get allows specification of a custom mapper implementation.
 String getFrom()
          Get specifies a type-specific pattern for matching source paths which should be mapped.
 String getTo()
          Get specifies a type-specific pattern for producing paths based on source paths.
 String getType()
          Get specifies a built-in mapper implementation.
 void setClassname(String classname)
          Set allows specification of a custom mapper implementation.
 void setFrom(String from)
          Set specifies a type-specific pattern for matching source paths which should be mapped.
 void setTo(String to)
          Set specifies a type-specific pattern for producing paths based on source paths.
 void setType(String type)
          Set specifies a built-in mapper implementation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Mapper

public Mapper()
Method Detail

getClassname

public String getClassname()
Get allows specification of a custom mapper implementation. The class must be of type org.apache.maven.shared.model.fileset.mappers.FileNameMapper, from the artifact org.apache.maven.shared:file-management.

Returns:
String

getFrom

public String getFrom()
Get specifies a type-specific pattern for matching source paths which should be mapped.

Returns:
String

getTo

public String getTo()
Get specifies a type-specific pattern for producing paths based on source paths.

Returns:
String

getType

public String getType()
Get specifies a built-in mapper implementation.
Valid values:

Returns:
String

setClassname

public void setClassname(String classname)
Set allows specification of a custom mapper implementation. The class must be of type org.apache.maven.shared.model.fileset.mappers.FileNameMapper, from the artifact org.apache.maven.shared:file-management.

Parameters:
classname -

setFrom

public void setFrom(String from)
Set specifies a type-specific pattern for matching source paths which should be mapped.

Parameters:
from -

setTo

public void setTo(String to)
Set specifies a type-specific pattern for producing paths based on source paths.

Parameters:
to -

setType

public void setType(String type)
Set specifies a built-in mapper implementation.
Valid values:

Parameters:
type -


Copyright © 2002-2012 Apache Software Foundation. All Rights Reserved.