public class JavaProjectRole extends AbstractProjectRole
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
JAVA_NATURE |
static java.lang.String |
NAME |
Constructor and Description |
---|
JavaProjectRole()
Creates a new instance of type JavaProjectRole
|
Modifier and Type | Method and Description |
---|---|
void |
addEclipseClasspathEntry(EclipseClasspathEntry classpathEntry)
Sets the specified classpath entries.
|
boolean |
equals(java.lang.Object o) |
EclipseClasspathEntry |
getDefaultOutputFolder()
Returns the default output folder for this project.
|
EclipseClasspathEntry[] |
getEclipseClasspathEntries()
Returns the eclipse classpath entries.
|
EclipseClasspathEntry[] |
getEclipseClasspathEntries(int entrykind)
Returns a list of EclipseClasspathEntry of a specifiy kind.
|
boolean |
hasEclipseClasspathEntries()
Returns whether classpath entries are set or not.
|
int |
hashCode() |
java.lang.String |
toString() |
getName
public static final java.lang.String JAVA_NATURE
public static final java.lang.String NAME
public JavaProjectRole()
public boolean hasEclipseClasspathEntries()
public EclipseClasspathEntry[] getEclipseClasspathEntries()
public EclipseClasspathEntry[] getEclipseClasspathEntries(int entrykind)
entrykind
- The kind of the desired entries.public void addEclipseClasspathEntry(EclipseClasspathEntry classpathEntry)
classpathEntry
- the eclipse classpath entries to set.public EclipseClasspathEntry getDefaultOutputFolder()
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class AbstractProjectRole
public boolean equals(java.lang.Object o)
equals
in class AbstractProjectRole