net.sf.ant4eclipse.model.roles
Interface RoleIdentifier

All Known Implementing Classes:
CRoleIdentifier, CvsRoleIdentifier, FeatureProjectRoleIdentifier, JavaRoleIdentifier, PluginProjectRoleIdentifier

public interface RoleIdentifier

A project role is a specialized variety of a project.


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.
 

Method Detail

isRoleSupported

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

Parameters:
project - The project that shall be tested.
Returns:
true <=> The role is supported.

applyRole

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

Parameters:
project - The project that shall be modified.
Throws:
FileParserException - Reading some information failed.