|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.schmant.support.AbstractArgumentChecker
org.schmant.project.java.JavaProjectClasspathDecorator
public class JavaProjectClasspathDecorator
The JavaProjectClasspathDecorator is a
PathDecorator that is used for setting the build
classpath for building a JavaProject. It uses a
JavaProjectDependencies to get the class directories for projects
that the project to build depends on.
| Constructor Summary | |
|---|---|
JavaProjectClasspathDecorator()
|
|
| Method Summary | |
|---|---|
JavaProjectDependencies |
getDependencies()
Get the dependencies object. |
List<Object> |
getPathEntries()
Get the path entries. |
JavaProject |
getProject()
Get the project to build. |
JavaProjectClasspathDecorator |
setDependencies(JavaProjectDependencies deps)
Set the dependencies object. |
JavaProjectClasspathDecorator |
setProject(JavaProject p)
Set the project to build. |
void |
validate(Report r,
Collection<String> errs)
Validate the task decorator and add errors to errs. |
| Methods inherited from class org.schmant.support.AbstractArgumentChecker |
|---|
check, check, check, check |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JavaProjectClasspathDecorator()
| Method Detail |
|---|
public JavaProjectClasspathDecorator setProject(JavaProject p)
p - The project.
thispublic JavaProject getProject()
public JavaProjectClasspathDecorator setDependencies(JavaProjectDependencies deps)
deps - The dependencies object.
thispublic JavaProjectDependencies getDependencies()
public void validate(Report r,
Collection<String> errs)
ValidatingDecoratorerrs.
validate in interface ValidatingDecoratorr - The current Report. Just like for
AbstractTask.validate(Report), no validation errors should be
logged to this. (They are logged later on.)errs - A collection of error messages. Add validation error messages
to this.public List<Object> getPathEntries()
PathDecorator
getPathEntries in interface PathDecorator<JavaProjectClasspathDecorator,Object>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||