Class BaseBowl

java.lang.Object
org.pentaho.di.core.bowl.BaseBowl
All Implemented Interfaces:
Bowl
Direct Known Subclasses:
DefaultBowl

public abstract class BaseBowl extends Object implements Bowl
  • Constructor Details

    • BaseBowl

      public BaseBowl()
  • Method Details

    • getManager

      public <T> T getManager(Class<T> managerClass) throws KettleException
      Description copied from interface: Bowl
      Gets a Manager for some type of object specifically in the context of this Bowl.

      Since constructing and initializing Managers can be expensive, and instances may share state or have other limitations, callers with a Bowl should use this method in favor of directly using the manager type.

      Specified by:
      getManager in interface Bowl
      Returns:
      a manager instance, never null.
      Throws:
      KettleException - for other errors.
      See Also:
    • getParentBowls

      public Set<Bowl> getParentBowls()
      Description copied from interface: Bowl
      Parent Bowls are any Bowls that a particular Bowl inherits from.
      Specified by:
      getParentBowls in interface Bowl
      Returns:
      Set<Bowl> A set of Parent Bowls. Should not be null.
    • addParentBowl

      public void addParentBowl(Bowl parent)
    • clearManagers

      public void clearManagers()
    • getLevelDisplayName

      public String getLevelDisplayName()
      Description copied from interface: Bowl
      Return the display name of the level. This string should be read from resource file
      Specified by:
      getLevelDisplayName in interface Bowl
      Returns:
      level name
    • clearCache

      public void clearCache()
      Description copied from interface: Bowl
      Clear any cached objects in the Bowl and its Managers
      Specified by:
      clearCache in interface Bowl