public class JavaRoleIdentifier extends java.lang.Object implements RoleIdentifier
Constructor and Description |
---|
JavaRoleIdentifier() |
Modifier and Type | Method and Description |
---|---|
void |
applyRole(EclipseProject project)
Adds a JavaProjectRole to the given project and parses
the classpath
|
boolean |
isRoleSupported(EclipseProject project)
Returns ture is the given project has a JavaNature
|
public boolean isRoleSupported(EclipseProject project)
isRoleSupported
in interface RoleIdentifier
project
- The project that shall be tested.public void applyRole(EclipseProject project) throws FileParserException
applyRole
in interface RoleIdentifier
project
- The project that shall be modified.FileParserException
- Reading some information failed.