de.matthias_burbach.deputy.core.project
Class ProjectConflictGroup

java.lang.Object
  extended byde.matthias_burbach.deputy.core.project.ProjectConflictGroup

public class ProjectConflictGroup
extends java.lang.Object

Author:
Matthias Burbach

Field Summary
static int SEVERITY_ERROR
          The estimated severity ERROR of this version conflict.
static int SEVERITY_INFO
          The estimated severity INFO of this version conflict.
static int SEVERITY_WARNING
          The estimated severity WARNING of this version conflict.
 
Constructor Summary
ProjectConflictGroup()
           
 
Method Summary
 java.lang.String getArtifactId()
           
 java.util.List getProjects()
           
 int getSeverity()
           
 void setArtifactId(java.lang.String artifactId)
           
 void setProjects(java.util.List projects)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SEVERITY_INFO

public static final int SEVERITY_INFO
The estimated severity INFO of this version conflict. INFO means that versions only differ in their micro versions.

See Also:
Constant Field Values

SEVERITY_WARNING

public static final int SEVERITY_WARNING
The estimated severity WARNING of this version conflict. WARNING means that versions differ in their minor versions.

See Also:
Constant Field Values

SEVERITY_ERROR

public static final int SEVERITY_ERROR
The estimated severity ERROR of this version conflict. ERROR means that versions even differ in their major versions.

See Also:
Constant Field Values
Constructor Detail

ProjectConflictGroup

public ProjectConflictGroup()
Method Detail

getArtifactId

public java.lang.String getArtifactId()
Returns:
The common artifact id of the projects of this conflict group.

setArtifactId

public void setArtifactId(java.lang.String artifactId)
Parameters:
artifactId - The common artifact id of the projects of this conflict group.

getProjects

public java.util.List getProjects()
Returns:
The list of projects of type Project that are members of this conflict group. They all share the same artifact id but have pairwise different versions.

setProjects

public void setProjects(java.util.List projects)
Parameters:
projects - The list of projects of type Project that are members of this conflict group. They all share the same artifact id but have pairwise different versions.

getSeverity

public int getSeverity()
Returns:
The estimated severity of the conflict. Is one of SEVERITY_INFO, SEVERITY_WARNING, SEVERITY_ERROR.


Copyright © 2005-2007 . All Rights Reserved.