Package org.pentaho.di.core.logging
Class LogTableField
java.lang.Object
org.pentaho.di.core.logging.LogTableField
- All Implemented Interfaces:
Cloneable
This is a single log table field.
The user can select this field or not, sees a field name, a description in the UI too. The user can also specify a subject like a step name.
The user can select this field or not, sees a field name, a description in the UI too. The user can also specify a subject like a step name.
- Author:
- matt
-
Constructor Summary
ConstructorDescriptionLogTableField
(String id, boolean enabled, boolean subjectAllowed, String fieldName, String name, String description, int dataType, int length) LogTableField
(String id, boolean enabled, String fieldName, Object subject, String name, String description) LogTableField
(String id, String fieldName, Object subject) Create a new enabled log table field with the specified field name for the specified subject. -
Method Summary
Modifier and TypeMethodDescriptionclone()
int
getId()
int
getName()
boolean
boolean
boolean
isKey()
boolean
boolean
boolean
boolean
boolean
boolean
void
setDataType
(int dataType) void
setDescription
(String description) void
setEnabled
(boolean enabled) void
setErrorsField
(boolean errorsField) void
setFieldName
(String fieldName) void
setKey
(boolean key) void
setLength
(int length) void
setLogDateField
(boolean logDateField) void
setLogField
(boolean logField) void
void
setNameField
(boolean nameField) void
setStatusField
(boolean statusField) void
setSubject
(Object subject) void
setSubjectAllowed
(boolean subjectAllowed) void
setVisible
(boolean visible) toString()
-
Constructor Details
-
LogTableField
public LogTableField(String id, boolean enabled, String fieldName, Object subject, String name, String description) - Parameters:
id
- the ID to reference this field by in the log tableenabled
-fieldName
-subject
-description
-
-
LogTableField
public LogTableField(String id, boolean enabled, boolean subjectAllowed, String fieldName, String name, String description, int dataType, int length) - Parameters:
id
-enabled
-fieldName
-description
-dataType
-length
-
-
LogTableField
Create a new enabled log table field with the specified field name for the specified subject.- Parameters:
fieldname
-subject
-
-
-
Method Details
-
clone
- Overrides:
clone
in classObject
- Throws:
CloneNotSupportedException
-
toString
-
isEnabled
public boolean isEnabled()- Returns:
- the enabled
-
setEnabled
public void setEnabled(boolean enabled) - Parameters:
enabled
- the enabled to set
-
getSubject
- Returns:
- the subject
-
setSubject
- Parameters:
subject
- the subject to set
-
getId
- Returns:
- the id
-
getFieldName
- Returns:
- the fieldName
-
setFieldName
- Parameters:
fieldName
- the fieldName to set
-
getDescription
- Returns:
- the description
-
setDescription
- Parameters:
description
- the description to set
-
getDataType
public int getDataType()- Returns:
- the dataType
-
setDataType
public void setDataType(int dataType) - Parameters:
dataType
- the dataType to set
-
getLength
public int getLength()- Returns:
- the length
-
setLength
public void setLength(int length) - Parameters:
length
- the length to set
-
isSubjectAllowed
public boolean isSubjectAllowed()- Returns:
- the subjectAllowed
-
setSubjectAllowed
public void setSubjectAllowed(boolean subjectAllowed) - Parameters:
subjectAllowed
- the subjectAllowed to set
-
isKey
public boolean isKey()- Returns:
- the key
-
setKey
public void setKey(boolean key) - Parameters:
key
- the key to set
-
isLogDateField
public boolean isLogDateField()- Returns:
- the logDateField
-
setLogDateField
public void setLogDateField(boolean logDateField) - Parameters:
logDateField
- the logDateField to set
-
getName
- Returns:
- the name
-
setName
- Parameters:
name
- the name to set
-
isLogField
public boolean isLogField()- Returns:
- the logField
-
setLogField
public void setLogField(boolean logField) - Parameters:
logField
- the logField to set
-
isVisible
public boolean isVisible()- Returns:
- the visible
-
setVisible
public void setVisible(boolean visible) - Parameters:
visible
- the visible to set
-
isStatusField
public boolean isStatusField()- Returns:
- the statusField
-
setStatusField
public void setStatusField(boolean statusField) - Parameters:
statusField
- the statusField to set
-
isErrorsField
public boolean isErrorsField()- Returns:
- the errorsField
-
setErrorsField
public void setErrorsField(boolean errorsField) - Parameters:
errorsField
- the errorsField to set
-
isNameField
public boolean isNameField()- Returns:
- the nameField
-
setNameField
public void setNameField(boolean nameField) - Parameters:
nameField
- the nameField to set
-