net.sourceforge.chaperon.build.conflict
Class ConflictList

java.lang.Object
  extended bynet.sourceforge.chaperon.build.conflict.ConflictList

public class ConflictList
extends java.lang.Object

The class represents a collection of conflicts.

Version:
CVS $Id: ConflictList.java,v 1.3 2003/12/09 19:55:52 benedikta Exp $
Author:
Stephan Michels

Constructor Summary
ConflictList()
           
 
Method Summary
 void addConflict(Conflict conflict)
          Add a conflict to this list
 Conflict getConflict(int index)
          Return a conflict giving by an index
 int getConflictCount()
          Returns the count of conflicts in the list
 java.lang.String toString()
          Return a string representation of this list.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConflictList

public ConflictList()
Method Detail

addConflict

public void addConflict(Conflict conflict)
Add a conflict to this list

Parameters:
conflict - Conflict, which should be apped

getConflict

public Conflict getConflict(int index)
Return a conflict giving by an index

Parameters:
index - Index of conflict
Returns:
Conflict.

getConflictCount

public int getConflictCount()
Returns the count of conflicts in the list

Returns:
Count of conflict n this list

toString

public java.lang.String toString()
Return a string representation of this list.

Returns:
String representation of this list.


Copyright ? 2003 Chaperon project. All Rights Reserved.