net.sf.ant4eclipse.model.project.cvsproject
Class CvsRoleIdentifier

java.lang.Object
  extended by net.sf.ant4eclipse.model.project.cvsproject.CvsRoleIdentifier
All Implemented Interfaces:
RoleIdentifier

public class CvsRoleIdentifier
extends java.lang.Object
implements RoleIdentifier

Identifier for a CVS role.


Constructor Summary
CvsRoleIdentifier()
           
 
Method Summary
 void applyRole(EclipseProject project)
          Applies the model data used to fullfill this specific role.
 boolean isRoleSupported(EclipseProject project)
          Returns true if the supplied project provides support for a specific role.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CvsRoleIdentifier

public CvsRoleIdentifier()
Method Detail

isRoleSupported

public boolean isRoleSupported(EclipseProject project)
Returns true if the supplied project provides support for a specific role.

Specified by:
isRoleSupported in interface RoleIdentifier
Parameters:
project - The project that shall be tested.
Returns:
true <=> The role is supported.

applyRole

public void applyRole(EclipseProject project)
               throws FileParserException
Applies the model data used to fullfill this specific role.

Specified by:
applyRole in interface RoleIdentifier
Parameters:
project - The project that shall be modified.
Throws:
FileParserException - Reading some information failed.