Codota Logo
JobLogTable.findField
Code IndexAdd Codota to your IDE (free)

How to use
findField
method
in
org.pentaho.di.core.logging.JobLogTable

Best Java code snippets using org.pentaho.di.core.logging.JobLogTable.findField (Showing top 7 results out of 315)

  • Common ways to obtain JobLogTable
private void myMethod () {
JobLogTable j =
  • Codota IconJobMeta jobMeta;jobMeta.getJobLogTable()
  • Smart code suggestions by Codota
}
origin: pentaho/pentaho-kettle

public boolean isBatchIdUsed() {
 return findField( ID.ID_JOB ).isEnabled();
}
origin: pentaho/pentaho-kettle

public void setLogFieldUsed( boolean use ) {
 findField( ID.LOG_FIELD ).setEnabled( use );
}
origin: pentaho/pentaho-kettle

public void setBatchIdUsed( boolean use ) {
 findField( ID.ID_JOB ).setEnabled( use );
}
origin: pentaho/pentaho-kettle

public boolean isLogFieldUsed() {
 return findField( ID.LOG_FIELD ).isEnabled();
}
origin: pentaho/pentaho-kettle

table.fields.add( new LogTableField( ID.CLIENT.id, false, false, "CLIENT", BaseMessages.getString( PKG, "JobLogTable.FieldName.Client" ), BaseMessages.getString( PKG, "JobLogTable.FieldDescription.Client" ), ValueMetaInterface.TYPE_STRING, 255 ) );
table.findField( ID.ID_JOB ).setKey( true );
table.findField( ID.LOGDATE ).setLogDateField( true );
table.findField( ID.LOG_FIELD ).setLogField( true );
table.findField( ID.CHANNEL_ID ).setVisible( false );
table.findField( ID.JOBNAME ).setVisible( false );
table.findField( ID.STATUS ).setStatusField( true );
table.findField( ID.ERRORS ).setErrorsField( true );
table.findField( ID.JOBNAME ).setNameField( true );
origin: pentaho/pentaho-kettle

LogTableField errorsField = findField( ID.ERRORS );
if ( errorsField != null ) {
 ValueMetaInterface valueMeta = new ValueMetaBase( errorsField.getFieldName(), errorsField.getDataType() );
 lookupIndex.addValueMeta( valueMeta );
LogTableField statusField = findField( ID.STATUS );
if ( statusField != null ) {
 ValueMetaInterface valueMeta = new ValueMetaBase( statusField.getFieldName(), statusField.getDataType() );
 lookupIndex.addValueMeta( valueMeta );
LogTableField transNameField = findField( ID.JOBNAME );
if ( transNameField != null ) {
 ValueMetaInterface valueMeta = new ValueMetaBase( transNameField.getFieldName(), transNameField.getDataType() );
origin: pentaho/pentaho-kettle

 jobLogTable.setBatchIdUsed( "Y".equalsIgnoreCase( XMLHandler.getTagValue( jobnode, "use_batchid" ) ) );
 jobLogTable.setLogFieldUsed( "Y".equalsIgnoreCase( XMLHandler.getTagValue( jobnode, "use_logfield" ) ) );
 jobLogTable.findField( JobLogTable.ID.CHANNEL_ID ).setEnabled( false );
 jobLogTable.findField( JobLogTable.ID.LINES_REJECTED ).setEnabled( false );
} else {
 jobLogTable.loadXML( jobLogNode, databases, null );
org.pentaho.di.core.loggingJobLogTablefindField

Popular methods of JobLogTable

  • getLogSizeLimit
  • setLogSizeLimit
  • getDatabaseMeta
  • getLogInterval
    Get the logging interval in seconds. Disabled if the logging interval is
  • getTableName
  • setConnectionName
  • setTableName
  • getDefault
  • isBatchIdUsed
  • isLogFieldUsed
  • setAllGlobalParametersToNull
  • setBatchIdUsed
  • setAllGlobalParametersToNull,
  • setBatchIdUsed,
  • setLogFieldUsed,
  • setLogInterval,
  • <init>,
  • clone,
  • getActualSchemaName,
  • getActualTableName,
  • getFields

Popular in Java

  • Creating JSON documents from java classes using gson
  • scheduleAtFixedRate (Timer)
  • getExternalFilesDir (Context)
  • getSystemService (Context)
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • GridLayout (java.awt)
    The GridLayout class is a layout manager that lays out a container's components in a rectangular gri
  • InputStream (java.io)
    A readable source of bytes.Most clients will use input streams that read data from the file system (
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • List (java.util)
    A List is a collection which maintains an ordering for its elements. Every element in the List has a
  • UUID (java.util)
    UUID is an immutable representation of a 128-bit universally unique identifier (UUID). There are mul
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now