org.apache.maven.model
Class Exclusion

java.lang.Object
  extended by org.apache.maven.model.Exclusion
All Implemented Interfaces:
Serializable

public class Exclusion
extends Object
implements Serializable

The <exclusion> element contains informations required to exclude an artifact to the project.

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

Constructor Summary
Exclusion()
           
 
Method Summary
 String getArtifactId()
          Get the artifact ID of the project to exclude.
 String getGroupId()
          Get the group ID of the project to exclude.
 String getModelEncoding()
           
 void setArtifactId(String artifactId)
          Set the artifact ID of the project to exclude.
 void setGroupId(String groupId)
          Set the group ID of the project to exclude.
 void setModelEncoding(String modelEncoding)
          Set an encoding used for reading/writing the model.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Exclusion

public Exclusion()
Method Detail

getArtifactId

public String getArtifactId()
Get the artifact ID of the project to exclude.

Returns:
String

getGroupId

public String getGroupId()
Get the group ID of the project to exclude.

Returns:
String

setArtifactId

public void setArtifactId(String artifactId)
Set the artifact ID of the project to exclude.

Parameters:
artifactId -

setGroupId

public void setGroupId(String groupId)
Set the group ID of the project to exclude.

Parameters:
groupId -

setModelEncoding

public void setModelEncoding(String modelEncoding)
Set an encoding used for reading/writing the model.

Parameters:
modelEncoding - the encoding used when reading/writing the model.

getModelEncoding

public String getModelEncoding()
Returns:
the current encoding used when reading/writing this model.


Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.