net.sf.ant4eclipse.model.roles
Class RoleIdentifierRegistry

java.lang.Object
  extended by net.sf.ant4eclipse.model.roles.RoleIdentifierRegistry

public class RoleIdentifierRegistry
extends java.lang.Object

A simple registry used for project role identifiers.


Method Summary
static void addRoleIdentifier(RoleIdentifier newrole)
          Adds the supplied role identifier to this registry.
static void applyRoles(EclipseProject project)
          Modifies the supplied project according to all currently registered RoleIdentifier instances.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

addRoleIdentifier

public static final void addRoleIdentifier(RoleIdentifier newrole)
Adds the supplied role identifier to this registry.

Parameters:
newrole - The role identifier that shall be added.

applyRoles

public static final void applyRoles(EclipseProject project)
                             throws FileParserException
Modifies the supplied project according to all currently registered RoleIdentifier instances.

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