aQute.bnd.build
Class Container
java.lang.Object
aQute.bnd.build.Container
public class Container
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Container
public Container(Project project,
java.io.File file)
Container
public Container(java.io.File file)
getFile
public java.io.File getFile()
contributeFiles
public boolean contributeFiles(java.util.List<java.io.File> files,
Processor reporter)
throws java.lang.Exception
- Iterate over the containers and get the files they represent
- Parameters:
files -
- Returns:
-
- Throws:
java.lang.Exception
getBundleSymbolicName
public java.lang.String getBundleSymbolicName()
getVersion
public java.lang.String getVersion()
getType
public Container.TYPE getType()
getError
public java.lang.String getError()
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
getProject
public Project getProject()
toString
public java.lang.String toString()
- Must show the file name or the error formatted as a file name
- Overrides:
toString in class java.lang.Object
- Returns:
getAttributes
public java.util.Map<java.lang.String,java.lang.String> getAttributes()
putAttribute
public void putAttribute(java.lang.String name,
java.lang.String value)
getMembers
public java.util.List<Container> getMembers()
throws java.lang.Exception
- Return the this if this is anything else but a library. If it is a
library, return the members. This could work recursively, e.g., libraries
can point to libraries.
- Returns:
-
- Throws:
java.lang.Exception
getManifest
public java.util.jar.Manifest getManifest()
throws java.lang.Exception
- Answer the manifest for this container (if possible). Manifest is cached
until the file is renewed.
- Throws:
java.lang.Exception
Copyright å© aQute SARL (2000, 2011). All Rights Reserved.