com.redstarhackers.craftsman.typedefs
Class BundleHelper

java.lang.Object
  extended by com.redstarhackers.craftsman.typedefs.BundleHelper

public class BundleHelper
extends java.lang.Object

TODO Class summary sentence. Class documentation.

Version:
$Revision: 478 $
Author:
$Author: kostya $

Method Summary
static java.io.File getBundleDocDir(Bundle bundle)
           
static Bundle getBundleForModule(Project project, Module module)
           
static java.lang.String getBundleProperty(Bundle bundle, java.lang.String propertyName)
           
static java.lang.String getBundleVersion(Bundle bundle)
           
static Bundle getDefinedBundle(Project project, java.lang.String bundleId)
           
static java.util.Set getDefinedBundles(Project project)
           
static boolean isBundlePropertySet(Bundle bundle, java.lang.String propertyName)
           
static void setBundleProperty(Bundle bundle, java.lang.String propertyName, java.lang.String propertyValue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getDefinedBundles

public static java.util.Set getDefinedBundles(Project project)

getDefinedBundle

public static Bundle getDefinedBundle(Project project,
                                      java.lang.String bundleId)

getBundleForModule

public static Bundle getBundleForModule(Project project,
                                        Module module)

isBundlePropertySet

public static boolean isBundlePropertySet(Bundle bundle,
                                          java.lang.String propertyName)

getBundleProperty

public static java.lang.String getBundleProperty(Bundle bundle,
                                                 java.lang.String propertyName)

setBundleProperty

public static void setBundleProperty(Bundle bundle,
                                     java.lang.String propertyName,
                                     java.lang.String propertyValue)

getBundleVersion

public static java.lang.String getBundleVersion(Bundle bundle)

getBundleDocDir

public static java.io.File getBundleDocDir(Bundle bundle)