Package org.pentaho.di.core.bowl
Class BaseBowl
java.lang.Object
org.pentaho.di.core.bowl.BaseBowl
- All Implemented Interfaces:
Bowl
- Direct Known Subclasses:
DefaultBowl
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddParentBowl(Bowl parent) voidClear any cached objects in the Bowl and its ManagersvoidReturn the display name of the level.<T> TgetManager(Class<T> managerClass) Gets a Manager for some type of object specifically in the context of this Bowl.Parent Bowls are any Bowls that a particular Bowl inherits from.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.pentaho.di.core.bowl.Bowl
getADefaultVariableSpace, getBowlPath, getMetastore, getSharedObjectsIO
-
Constructor Details
-
BaseBowl
public BaseBowl()
-
-
Method Details
-
getManager
Description copied from interface:BowlGets 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:
getManagerin interfaceBowl- Returns:
- a manager instance, never null.
- Throws:
KettleException- for other errors.- See Also:
-
getParentBowls
Description copied from interface:BowlParent Bowls are any Bowls that a particular Bowl inherits from.- Specified by:
getParentBowlsin interfaceBowl- Returns:
- Set<Bowl> A set of Parent Bowls. Should not be null.
-
addParentBowl
-
clearManagers
public void clearManagers() -
getLevelDisplayName
Description copied from interface:BowlReturn the display name of the level. This string should be read from resource file- Specified by:
getLevelDisplayNamein interfaceBowl- Returns:
- level name
-
clearCache
public void clearCache()Description copied from interface:BowlClear any cached objects in the Bowl and its Managers- Specified by:
clearCachein interfaceBowl
-