|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opensolaris.opengrok.configuration.Project
public class Project
Placeholder for the information that builds up a project
Constructor Summary | |
---|---|
Project()
Creates a new instance of Project |
|
Project(java.lang.String description,
java.lang.String path)
Create a new instance of Project with a given description and path |
Method Summary | |
---|---|
java.lang.String |
getDescription()
Get a textual description of this project |
java.lang.String |
getId()
Get the project id |
java.lang.String |
getPath()
Get the path (relative from source root) where this project is located |
static Project |
getProject(java.io.File file)
Get the project for a specific file |
static Project |
getProject(java.lang.String path)
Get the project for a specific file |
void |
setDescription(java.lang.String description)
Set a textual description of this project |
void |
setPath(java.lang.String path)
Set the path (relative from source root) this project is located |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Project()
public Project(java.lang.String description, java.lang.String path)
description
- the description of this projectpath
- the path to where this project is located (relative from source root)Method Detail |
---|
public java.lang.String getDescription()
public java.lang.String getPath()
public java.lang.String getId()
public void setDescription(java.lang.String description)
description
- a textual description of the projectpublic void setPath(java.lang.String path)
path
- the relative path from source sroot where this project is
located.public static Project getProject(java.lang.String path)
path
- the file to lookup (relative from source root)
public static Project getProject(java.io.File file)
file
- the file to lookup
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |