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

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

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

origin: pentaho/pentaho-kettle

@Before
public void setUp() {
 jobMeta = new JobMeta();
 // prepare
 directoryJob = mock( RepositoryDirectoryInterface.class );
 when( directoryJob.getPath() ).thenReturn( "directoryPath" );
 listener = mock( ContentChangedListener.class );
 objectRevision = mock( ObjectRevision.class );
 when( objectRevision.getName() ).thenReturn( "revisionName" );
 jobMeta.addContentChangedListener( listener );
 jobMeta.setRepositoryDirectory( directoryJob );
 jobMeta.setName( JOB_META_NAME );
 jobMeta.setObjectRevision( objectRevision );
}
origin: pentaho/pentaho-kettle

private boolean testEquals( String name, RepositoryDirectoryInterface repDirectory, ObjectRevision revision,
  String filename ) {
 JobMeta jobMeta2 = new JobMeta();
 jobMeta2.setName( name );
 jobMeta2.setRepositoryDirectory( repDirectory );
 jobMeta2.setObjectRevision( revision );
 jobMeta2.setFilename( filename );
 return jobMeta.equals( jobMeta2 );
}
origin: pentaho/pentaho-kettle

private JobMeta buildJobMeta( final RepositoryFile file, final RepositoryDirectoryInterface parentDir,
               final NodeRepositoryFileData data, final ObjectRevision revision )
 throws KettleException {
 JobMeta jobMeta = new JobMeta();
 jobMeta.setName( file.getTitle() );
 jobMeta.setFilename( file.getName() );
 jobMeta.setDescription( file.getDescription() );
 jobMeta.setObjectId( new StringObjectId( file.getId().toString() ) );
 jobMeta.setObjectRevision( revision );
 jobMeta.setRepository( this );
 jobMeta.setRepositoryDirectory( parentDir );
 jobMeta.setMetaStore( getMetaStore() );
 readJobMetaSharedObjects( jobMeta ); // This should read from the local cache
 jobDelegate.dataNodeToElement( data.getNode(), jobMeta );
 jobMeta.clearChanged();
 return jobMeta;
}
org.pentaho.di.jobJobMetasetObjectRevision

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 12 Jupyter Notebook extensions
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