|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.enough.polish.ant.ConditionalElement
de.enough.polish.ant.Setting
de.enough.polish.ant.build.LibrariesSetting
public class LibrariesSetting
A container for several <library> tags.
Copyright Enough Software 2005-2011
| Field Summary | |
|---|---|
static String |
KEY_ENVIRONMENT
Key for the environment. |
| Constructor Summary | |
|---|---|
LibrariesSetting(Environment environment)
Creates a new libraries setting |
|
| Method Summary | |
|---|---|
void |
add(LibrariesSetting setting)
|
void |
addConfiguredLibrary(LibrarySetting setting)
|
void |
addLibrary(File path)
Adds a library to this setting. |
boolean |
copyToCache(File binaryBaseDir)
Copies all third party binary libraries to the cache. |
LibrarySetting[] |
getLibraries()
|
| Methods inherited from class de.enough.polish.ant.Setting |
|---|
addConfiguredParameter, getAllParameters, getParameters, hasParameters |
| Methods inherited from class de.enough.polish.ant.ConditionalElement |
|---|
getCondition, getIf, getUnless, isActive, isActive, isActive, isActive, setIf, setUnless |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String KEY_ENVIRONMENT
Environment.get(String),
Constant Field Values| Constructor Detail |
|---|
public LibrariesSetting(Environment environment)
environment - the environment| Method Detail |
|---|
public void addConfiguredLibrary(LibrarySetting setting)
public void addLibrary(File path)
path - the path to the librarypublic LibrarySetting[] getLibraries()
public void add(LibrariesSetting setting)
setting -
public boolean copyToCache(File binaryBaseDir)
throws FileNotFoundException,
IOException
binaryBaseDir - the base dir of the cache
IOException - when a file could not be read or written
FileNotFoundException - when a file was not found
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||