aQute.bnd.build
Class Container
java.lang.Object
aQute.bnd.build.Container
public class Container
- extends Object
Container
public Container(Project project,
File file)
Container
public Container(File file)
getFile
public File getFile()
contributeFiles
public boolean contributeFiles(List<File> files,
Processor reporter)
throws Exception
- Iterate over the containers and get the files they represent
- Parameters:
files
-
- Returns:
-
- Throws:
Exception
getBundleSymbolicName
public String getBundleSymbolicName()
getVersion
public String getVersion()
getType
public Container.TYPE getType()
getError
public String getError()
equals
public boolean equals(Object other)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
getProject
public Project getProject()
toString
public String toString()
- Must show the file name or the error formatted as a file name
- Overrides:
toString
in class Object
- Returns:
getAttributes
public Map<String,String> getAttributes()
putAttribute
public void putAttribute(String name,
String value)
getMembers
public List<Container> getMembers()
throws 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:
Exception
getManifest
public Manifest getManifest()
throws Exception
- Answer the manifest for this container (if possible). Manifest is cached
until the file is renewed.
- Throws:
Exception
Copyright © 2012 aQute SARL. All Rights Reserved.