congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
JobMeta.realClone
Code IndexAdd Tabnine to your IDE (free)

How to use
realClone
method
in
org.pentaho.di.job.JobMeta

Best Java code snippets using org.pentaho.di.job.JobMeta.realClone (Showing top 3 results out of 315)

origin: pentaho/pentaho-kettle

/**
 * Clones the job meta-data object.
 *
 * @return a clone of the job meta-data object
 * @see java.lang.Object#clone()
 */
public Object clone() {
 return realClone( true );
}
origin: pentaho/pentaho-kettle

public boolean save( EngineMetaInterface meta, String fname, boolean export ) {
 Spoon spoon = Spoon.getInstance();
 EngineMetaInterface lmeta;
 if ( export ) {
  lmeta = (JobMeta) ( (JobMeta) meta ).realClone( false );
 } else {
  lmeta = meta;
 }
 try {
  ExtensionPointHandler.callExtensionPoint( spoon.getLog(), KettleExtensionPoint.JobBeforeSave.id, lmeta );
 } catch ( KettleException e ) {
  // fails gracefully
 }
 boolean saveStatus = spoon.saveMeta( lmeta, fname );
 if ( saveStatus ) {
  try {
   ExtensionPointHandler.callExtensionPoint( spoon.getLog(), KettleExtensionPoint.JobAfterSave.id, lmeta );
  } catch ( KettleException e ) {
   // fails gracefully
  }
 }
 return saveStatus;
}
origin: pentaho/pentaho-kettle

JobMeta jobMeta = (JobMeta) this.realClone( false );
org.pentaho.di.jobJobMetarealClone

Javadoc

Perform a real clone of the job meta-data object, including cloning all lists and copying all values. If the doClear parameter is true, the clone will be cleared of ALL values before the copy. If false, only the copied fields will be cleared.

Popular methods of JobMeta

  • environmentSubstitute
  • <init>
    Create a new JobMeta object by loading it from a a DOM node.
  • getName
  • findDatabase
  • getDatabases
  • getJobCopies
    Gets the job copies.
  • getParameterDefault
  • getXML
  • setName
  • addDatabase
  • addJobEntry
    Adds the job entry.
  • addJobHop
    Adds the job hop.
  • addJobEntry,
  • addJobHop,
  • addNote,
  • addParameterDefinition,
  • clearChanged,
  • findJobEntry,
  • getCreatedDate,
  • getCreatedUser,
  • getDatabase,
  • getExtendedDescription

Popular in Java

  • Making http post requests using okhttp
  • findViewById (Activity)
  • getExternalFilesDir (Context)
  • setScale (BigDecimal)
  • Graphics2D (java.awt)
    This Graphics2D class extends the Graphics class to provide more sophisticated control overgraphics
  • GridBagLayout (java.awt)
    The GridBagLayout class is a flexible layout manager that aligns components vertically and horizonta
  • KeyStore (java.security)
    KeyStore is responsible for maintaining cryptographic keys and their owners. The type of the syste
  • Collections (java.util)
    This class consists exclusively of static methods that operate on or return collections. It contains
  • TimeZone (java.util)
    TimeZone represents a time zone offset, and also figures out daylight savings. Typically, you get a
  • FileUtils (org.apache.commons.io)
    General file manipulation utilities. Facilities are provided in the following areas: * writing to a
  • Top Sublime Text plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now