Tabnine Logo
ImportRules.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
org.pentaho.di.imp.ImportRules
constructor

Best Java code snippets using org.pentaho.di.imp.ImportRules.<init> (Showing top 15 results out of 315)

origin: pentaho/pentaho-kettle

public RepositoryImportProgressDialog( Shell parent, int style, Repository rep, String fileDirectory,
 String[] filenames, RepositoryDirectoryInterface baseDirectory, String versionComment ) {
 this( parent, style, rep, fileDirectory, filenames, baseDirectory, versionComment, new ImportRules() );
}
origin: pentaho/pentaho-kettle

public RepositoryExportProgressDialog( Shell shell, Repository rep, RepositoryDirectoryInterface dir,
  String filename ) {
 this( shell, rep, dir, filename, new ImportRules() );
}
origin: pentaho/pentaho-kettle

public RepositoryImporter( Repository repository, LogChannelInterface log ) {
 this( repository, new ImportRules(), Collections.<String>emptyList(), log );
}
origin: pentaho/pentaho-kettle

public RepositoryImporter( Repository repository ) {
 this( repository, new ImportRules(), new ArrayList<String>() );
}
origin: pentaho/pentaho-kettle

public PurRepositoryExporter( PurRepository repository ) {
 this.repository = repository;
 this.importRules = new ImportRules();
 this.log = repository.getLog();
}
origin: pentaho/pentaho-kettle

/**
 * @param repository
 */
public RepositoryExporter( Repository repository ) {
 this.log = repository.getLog();
 this.repository = repository;
 this.importRules = new ImportRules();
}
origin: pentaho/pentaho-kettle

/**
 * Perform a deep clone
 *
 * @return a deep copy of the all the import rules.
 */
@Override
public ImportRules clone() {
 ImportRules importRules = new ImportRules();
 for ( ImportRuleInterface rule : rules ) {
  importRules.getRules().add( rule.clone() );
 }
 return importRules;
}
origin: pentaho/pentaho-kettle

protected void syncUIWithData() {
 ImportRules newRules = new ImportRules();
 getInfo( newRules );
 importRules = newRules;
 getCompositesData();
}
origin: pentaho/pentaho-kettle

public static void main( String[] args ) throws Exception {
 Display display = new Display();
 KettleEnvironment.init();
 PropsUI.init( display, PropsUI.TYPE_PROPERTIES_SPOON );
 Shell shell = new Shell( display );
 ImportRules importRules = new ImportRules();
 importRules.loadXML( XMLHandler.getSubNode(
  XMLHandler.loadXMLFile( "bin/import-rules.xml" ), ImportRules.XML_TAG ) );
 ImportRulesDialog dialog = new ImportRulesDialog( shell, importRules );
 if ( dialog.open() ) {
  for ( ImportRuleInterface rule : importRules.getRules() ) {
   System.out.println( " - " + rule.toString() );
  }
 }
}
origin: pentaho/pentaho-kettle

rule.setId( plugin.getIds()[0] );
ImportRules newRules = new ImportRules();
getInfo( newRules );
origin: pentaho/pentaho-kettle

private ImportRules getImportRules() {
 ImportRules imp = new ImportRules();
 List<ImportRuleInterface> impRules = new ArrayList<ImportRuleInterface>( 1 );
 JobHasDescriptionImportRule rule = new JobHasDescriptionImportRule();
 rule.setEnabled( true );
 rule.setMinLength( 19000 );
 impRules.add( rule );
 TransformationHasDescriptionImportRule trRule = new TransformationHasDescriptionImportRule() {
  public String toString() {
   return "stub to avoid call to Plugin registry";
  }
 };
 trRule.setEnabled( true );
 trRule.setMinLength( 19001 );
 impRules.add( trRule );
 imp.setRules( impRules );
 return imp;
}
origin: pentaho/pentaho-kettle

ImportRules importRules = new ImportRules();
String rulesFile = optionRules.toString();
origin: pentaho/pentaho-kettle

String filename = dialog.getFilterPath() + System.getProperty( "file.separator" ) + dialog.getFileName();
ImportRules newRules = new ImportRules();
try {
 newRules.loadXML( XMLHandler.getSubNode( XMLHandler.loadXMLFile( filename ), ImportRules.XML_TAG ) );
origin: pentaho/pentaho-kettle

ImportRules importRules = new ImportRules();
if ( answer == SWT.YES ) {
 ImportRulesDialog importRulesDialog = new ImportRulesDialog( shell, importRules );
origin: pentaho/pentaho-kettle

ImportRules importRules = new ImportRules();
if ( answer == SWT.YES ) {
 ImportRulesDialog importRulesDialog = new ImportRulesDialog( shell, importRules );
org.pentaho.di.impImportRules<init>

Popular methods of ImportRules

  • getRules
  • loadXML
  • verifyRules
  • clone
    Perform a deep clone
  • getXML
  • setRules

Popular in Java

  • Making http post requests using okhttp
  • getExternalFilesDir (Context)
  • onRequestPermissionsResult (Fragment)
  • getSystemService (Context)
  • Window (java.awt)
    A Window object is a top-level window with no borders and no menubar. The default layout for a windo
  • SimpleDateFormat (java.text)
    Formats and parses dates in a locale-sensitive manner. Formatting turns a Date into a String, and pa
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • TimerTask (java.util)
    The TimerTask class represents a task to run at a specified time. The task may be run once or repeat
  • Executors (java.util.concurrent)
    Factory and utility methods for Executor, ExecutorService, ScheduledExecutorService, ThreadFactory,
  • DateTimeFormat (org.joda.time.format)
    Factory that creates instances of DateTimeFormatter from patterns and styles. Datetime formatting i
  • Top Vim 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