com.redstarhackers.craftsman.taskdefs
Class BundleOrientedTask

java.lang.Object
  extended by Task
      extended by com.redstarhackers.craftsman.taskdefs.BundleOrientedTask
Direct Known Subclasses:
CreateBundleTask, DocumentBundleTask, WikidocBundleTask

public class BundleOrientedTask
extends Task

A base class for tasks that deal with modules or require module information to perform their work. This class holds the moduleid, a reference to the module, the ability to get module settings, etc.

Version:
$Revision: 210 $
Author:
$Author: kostya $

Constructor Summary
BundleOrientedTask()
           
 
Method Summary
 Bundle getBundle()
           
 java.lang.String getBundleBuildVersion()
           
 java.lang.String getBundleId()
           
 java.lang.String getBundleProperty(java.lang.String propertyName)
           
 void init()
           
 void setBundleId(java.lang.String nameVal)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BundleOrientedTask

public BundleOrientedTask()
Method Detail

init

public void init()

getBundleId

public java.lang.String getBundleId()

setBundleId

public void setBundleId(java.lang.String nameVal)

getBundle

public Bundle getBundle()

getBundleProperty

public java.lang.String getBundleProperty(java.lang.String propertyName)

getBundleBuildVersion

public java.lang.String getBundleBuildVersion()