org.apache.maven.plugin.assembly.model
Class GroupVersionAlignment

java.lang.Object
  extended by org.apache.maven.plugin.assembly.model.GroupVersionAlignment
All Implemented Interfaces:
Serializable

public class GroupVersionAlignment
extends Object
implements Serializable

Allows a group of artifacts to be aligned to a specified version.

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

Constructor Summary
GroupVersionAlignment()
           
 
Method Summary
 void addExclude(String string)
          Method addExclude.
 List<String> getExcludes()
          Method getExcludes.
 String getId()
          Get the groupId of the artifacts for which you want to align the versions.
 String getVersion()
          Get the version you want to align this group to.
 void removeExclude(String string)
          Method removeExclude.
 void setExcludes(List<String> excludes)
          Set when <exclude> subelements are present, they define the artifactIds of the artifacts to exclude.
 void setId(String id)
          Set the groupId of the artifacts for which you want to align the versions.
 void setVersion(String version)
          Set the version you want to align this group to.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GroupVersionAlignment

public GroupVersionAlignment()
Method Detail

addExclude

public void addExclude(String string)
Method addExclude.

Parameters:
string -

getExcludes

public List<String> getExcludes()
Method getExcludes.

Returns:
List

getId

public String getId()
Get the groupId of the artifacts for which you want to align the versions.

Returns:
String

getVersion

public String getVersion()
Get the version you want to align this group to.

Returns:
String

removeExclude

public void removeExclude(String string)
Method removeExclude.

Parameters:
string -

setExcludes

public void setExcludes(List<String> excludes)
Set when <exclude> subelements are present, they define the artifactIds of the artifacts to exclude. If none is present, then <excludes> represents no exclusions. An exclude is specified by providing one or more of <exclude> subelements.

Parameters:
excludes -

setId

public void setId(String id)
Set the groupId of the artifacts for which you want to align the versions.

Parameters:
id -

setVersion

public void setVersion(String version)
Set the version you want to align this group to.

Parameters:
version -


Copyright © 2002-2011 The Apache Software Foundation. All Rights Reserved.