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 String
getContainerObjectId()
Gets the execution container (Carte/DI server/BI Server) object id.String
getFilename()
Gets the filename.String
getLogChannelId()
Gets the log channel id.LogLevel
getLogLevel()
Gets the logging level of the log channel of this logging object.String
getObjectCopy()
Gets a string identifying a copy in a series of steps.ObjectId
getObjectId()
Gets the object id in a repository.String
getObjectName()
Gets the object name.ObjectRevision
getObjectRevision()
Gets the objects revision in a repository.LoggingObjectType
getObjectType()
Gets the object type.LoggingObjectInterface
getParent()
Gets the parent.Date
getRegistrationDate()
Gets the registration date of this logging object.RepositoryDirectoryInterface
getRepositoryDirectory()
Gets the repository directory.boolean
isForcingSeparateLogging()
boolean
isGatheringMetrics()
Gets the boolean value of whether or not this object is gathering kettle metrics during execution.boolean
isLoggingObjectInUse()
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.void
setGatheringMetrics(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()
-
-