|
Carrot2 Framework
API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.carrot2.ant.deps.ComponentDependency
public class ComponentDependency
A class that represents a component and the information about its dependencies (other components it requires to build or run).
| Constructor Summary | |
|---|---|
ComponentDependency(Project project,
File file)
|
|
| Method Summary | |
|---|---|
void |
bringUpToDate(Project project,
String currentProfile,
BringToDateTask task)
Brings the component up-to-date, based on 'provides' and build elements. |
void |
collectMetas(List metas,
String currentProfile,
String type)
Collects the meta headers of the given type for this component (dependencies not included). |
FileReference[] |
getAllProvidedFileReferences(Map components,
String currentProfile,
boolean buildPath,
boolean nocopy)
|
File[] |
getAllProvidedFiles(Map components,
String currentProfile,
boolean buildPath)
Returns paths to all provided files (including objects in depending components). |
ComponentInProfile[] |
getAllRequiredComponentDependencies(Map componentsMap,
String profile)
Collect all ComponentDependency objects required by this
component. |
ComponentInProfile[] |
getAllRequiredComponentDependencies(Map componentsMap,
String profile,
boolean nocopy)
Collect all ComponentDependency objects required by this component. |
protected List |
getDependencyElements()
|
String |
getDescription()
|
File |
getFile()
Returns the File pointer |
String |
getName()
Returns the name of the component. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ComponentDependency(Project project,
File file)
throws IOException
IOException| Method Detail |
|---|
public String getName()
public File getFile()
public ComponentInProfile[] getAllRequiredComponentDependencies(Map componentsMap,
String profile)
throws BuildException
ComponentDependency objects required by this
component.
componentsMap - Name-to-ComponentDependency objects
map used to resolve named dependencies.
BuildException
public ComponentInProfile[] getAllRequiredComponentDependencies(Map componentsMap,
String profile,
boolean nocopy)
throws BuildException
componentsMap - Name-to-ComponentDependency objects
map used to resolve named dependencies.
BuildExceptionprotected List getDependencyElements()
public String toString()
toString in class Object
public void bringUpToDate(Project project,
String currentProfile,
BringToDateTask task)
throws BuildException
BuildException
public File[] getAllProvidedFiles(Map components,
String currentProfile,
boolean buildPath)
public String getDescription()
public void collectMetas(List metas,
String currentProfile,
String type)
public FileReference[] getAllProvidedFileReferences(Map components,
String currentProfile,
boolean buildPath,
boolean nocopy)
|
Please refer to project documentation at
http://project.carrot2.org |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||