org.pentaho.di.core.logging
Class SimpleLoggingObject
java.lang.Object
org.pentaho.di.core.logging.SimpleLoggingObject
- All Implemented Interfaces:
- LoggingObjectInterface
public class SimpleLoggingObject
- extends Object
- implements LoggingObjectInterface
SimpleLoggingObject
public SimpleLoggingObject(String objectName,
LoggingObjectType loggingObjectType,
LoggingObjectInterface parent)
- Parameters:
objectName
- loggingObjectType
- parent
-
getObjectName
public String getObjectName()
- Specified by:
getObjectName
in interface LoggingObjectInterface
- Returns:
- the name
setObjectName
public void setObjectName(String name)
- Parameters:
name
- the name to set
getObjectType
public LoggingObjectType getObjectType()
- Specified by:
getObjectType
in interface LoggingObjectInterface
- Returns:
- the objectType
setObjectType
public void setObjectType(LoggingObjectType objectType)
- Parameters:
objectType
- the objectType to set
getParent
public LoggingObjectInterface getParent()
- Specified by:
getParent
in interface LoggingObjectInterface
- Returns:
- the parent
setParent
public void setParent(LoggingObjectInterface parent)
- Parameters:
parent
- the parent to set
getFilename
public String getFilename()
- Specified by:
getFilename
in interface LoggingObjectInterface
- Returns:
- the filename
getLogChannelId
public String getLogChannelId()
- Specified by:
getLogChannelId
in interface LoggingObjectInterface
- Returns:
- the log channel id
getObjectCopy
public String getObjectCopy()
- Specified by:
getObjectCopy
in interface LoggingObjectInterface
- Returns:
- A string identifying a copy in a series of steps...
getObjectId
public ObjectId getObjectId()
- Specified by:
getObjectId
in interface LoggingObjectInterface
- Returns:
- the objectId in a repository
getObjectRevision
public ObjectRevision getObjectRevision()
- Specified by:
getObjectRevision
in interface LoggingObjectInterface
- Returns:
- the object revision in a repository
getRepositoryDirectory
public RepositoryDirectory getRepositoryDirectory()
- Specified by:
getRepositoryDirectory
in interface LoggingObjectInterface
- Returns:
- the repositoryDirectory
getLogLevel
public LogLevel getLogLevel()
- Specified by:
getLogLevel
in interface LoggingObjectInterface
- Returns:
- The logging level of the log channel of this logging object.
setLogLevel
public void setLogLevel(LogLevel logLevel)
getContainerObjectId
public String getContainerObjectId()
- Specified by:
getContainerObjectId
in interface LoggingObjectInterface
- Returns:
- 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.
setContainerObjectId
public void setContainerObjectId(String containerObjectId)
getRegistrationDate
public Date getRegistrationDate()
- Specified by:
getRegistrationDate
in interface LoggingObjectInterface
- Returns:
- the registrationDate
setRegistrationDate
public void setRegistrationDate(Date registrationDate)
- Parameters:
registrationDate
- the registrationDate to set