org.mmbase.applications.packaging.bundlehandlers
Class BundleVersionContainer

java.lang.Object
  extended byorg.mmbase.applications.packaging.bundlehandlers.BundleVersionContainer

public class BundleVersionContainer
extends java.lang.Object

The bundle version container, keeps all track of all the bundles with the same version (but multiple providers)

Author:
Daniel Ockeloen (MMBased)

Constructor Summary
BundleVersionContainer(BundleInterface b)
           
 
Method Summary
 java.lang.Object addBundle(BundleInterface b)
           
 boolean contains(ProviderInterface provider)
           
 java.lang.Object get(ProviderInterface provider)
           
 BundleInterface getBundleByScore()
           
 int getBundleCount()
           
 java.util.Iterator getBundles()
           
 ShareInfo getShareInfo()
           
 boolean isShared()
           
 boolean removeBundle(BundleInterface b)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BundleVersionContainer

public BundleVersionContainer(BundleInterface b)
Method Detail

addBundle

public java.lang.Object addBundle(BundleInterface b)

removeBundle

public boolean removeBundle(BundleInterface b)

getBundleCount

public int getBundleCount()

get

public java.lang.Object get(ProviderInterface provider)

getBundles

public java.util.Iterator getBundles()

contains

public boolean contains(ProviderInterface provider)

isShared

public boolean isShared()

getShareInfo

public ShareInfo getShareInfo()

getBundleByScore

public BundleInterface getBundleByScore()


packaging build MMBase-1_8_3