Package org.pentaho.di.core.logging
Interface LoggingObjectInterface
-
- All Superinterfaces:
LoggingObjectLifecycleInterface
- All Known Implementing Classes:
Database,LoggingObject,SimpleLoggingObject
public interface LoggingObjectInterface extends LoggingObjectLifecycleInterface
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetContainerObjectId()Gets the execution container (Carte/DI server/BI Server) object id.StringgetFilename()Gets the filename.StringgetLogChannelId()Gets the log channel id.LogLevelgetLogLevel()Gets the logging level of the log channel of this logging object.StringgetObjectCopy()Gets a string identifying a copy in a series of steps.ObjectIdgetObjectId()Gets the object id in a repository.StringgetObjectName()Gets the object name.ObjectRevisiongetObjectRevision()Gets the objects revision in a repository.LoggingObjectTypegetObjectType()Gets the object type.LoggingObjectInterfacegetParent()Gets the parent.DategetRegistrationDate()Gets the registration date of this logging object.RepositoryDirectoryInterfacegetRepositoryDirectory()Gets the repository directory.booleanisForcingSeparateLogging()booleanisGatheringMetrics()Gets the boolean value of whether or not this object is gathering kettle metrics during execution.booleanisLoggingObjectInUse()voidsetForcingSeparateLogging(boolean forcingSeparateLogging)This option will force the create of a separate logging channel even if the logging concerns identical objects with identical names.voidsetGatheringMetrics(boolean gatheringMetrics)Enable of disable kettle metrics gathering during execution-
Methods inherited from interface org.pentaho.di.core.logging.LoggingObjectLifecycleInterface
callAfterLog, callBeforeLog
-
-
-
-
Method Detail
-
getObjectName
String getObjectName()
Gets the object name.- Returns:
- the name
-
getRepositoryDirectory
RepositoryDirectoryInterface getRepositoryDirectory()
Gets the repository directory.- Returns:
- the repositoryDirectory
-
getFilename
String getFilename()
Gets the filename.- Returns:
- the filename
-
getObjectId
ObjectId getObjectId()
Gets the object id in a repository.- Returns:
- the objectId in a repository
-
getObjectRevision
ObjectRevision getObjectRevision()
Gets the objects revision in a repository.- Returns:
- the object revision in a repository
-
getLogChannelId
String getLogChannelId()
Gets the log channel id.- Returns:
- the log channel id
-
getParent
LoggingObjectInterface getParent()
Gets the parent.- Returns:
- the parent
-
getObjectType
LoggingObjectType getObjectType()
Gets the object type.- Returns:
- the objectType
-
getObjectCopy
String getObjectCopy()
Gets a string identifying a copy in a series of steps.- Returns:
- A string identifying a copy in a series of steps.
-
getLogLevel
LogLevel getLogLevel()
Gets the logging level of the log channel of this logging object.- Returns:
- The logging level of the log channel of this logging object.
-
getContainerObjectId
String getContainerObjectId()
Gets the execution container (Carte/DI server/BI Server) object id. We use this to see to which copy of the job/trans hierarchy this object belongs. If it is null, we assume that we are running a single copy in Spoon/Pan/Kitchen.- Returns:
- The execution container (Carte/DI server/BI Server) object id.
-
getRegistrationDate
Date getRegistrationDate()
Gets the registration date of this logging object. Null if it's not registered.- Returns:
- The registration date of this logging object. Null if it's not registered.
-
isGatheringMetrics
boolean isGatheringMetrics()
Gets the boolean value of whether or not this object is gathering kettle metrics during execution.- Returns:
- true if this logging object is gathering kettle metrics during execution
-
setGatheringMetrics
void setGatheringMetrics(boolean gatheringMetrics)
Enable of disable kettle metrics gathering during execution- Parameters:
gatheringMetrics- set to true to enable metrics gathering during execution.
-
setForcingSeparateLogging
void setForcingSeparateLogging(boolean forcingSeparateLogging)
This option will force the create of a separate logging channel even if the logging concerns identical objects with identical names.- Parameters:
forcingSeparateLogging- Set to true to force separate logging
-
isForcingSeparateLogging
boolean isForcingSeparateLogging()
- Returns:
- True if the logging is forcibly separated out from even identical objects.
-
isLoggingObjectInUse
boolean isLoggingObjectInUse()
-
-