aQute.bnd.build
Class Container

java.lang.Object
  extended by aQute.bnd.build.Container

public class Container
extends Object


Nested Class Summary
static class Container.TYPE
           
 
Constructor Summary
Container(File file)
           
Container(Project project, File file)
           
 
Method Summary
 boolean equals(Object other)
           
 Map<String,String> getAttributes()
           
 String getBundleSymbolicName()
           
 String getError()
           
 File getFile()
           
 List<Container> getMembers()
          Return the this if this is anything else but a library.
 Project getProject()
           
 Container.TYPE getType()
           
 String getVersion()
           
 int hashCode()
           
 String toString()
          Must show the file name or the error formatted as a file name
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Container

public Container(Project project,
                 File file)

Container

public Container(File file)
Method Detail

getFile

public File getFile()

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()

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


Copyright © 2010 aQute SARL. All Rights Reserved.