Tabnine Logo
SourceAndTargetPredicate
Code IndexAdd Tabnine to your IDE (free)

How to use
SourceAndTargetPredicate
in
org.jboss.windup.exec.rulefilters

Best Java code snippets using org.jboss.windup.exec.rulefilters.SourceAndTargetPredicate (Showing top 5 results out of 315)

origin: windup/windup

/**
 * Creates a new instance with the given set of source and target filters.
 */
public SourceAndTargetPredicate(Collection<String> sources, Collection<String> targets)
{
  this.sources = initSet(sources);
  this.targets = initSet(targets);
}
origin: windup/windup

@Override
public boolean accept(RuleProvider type)
{
  Set<TechnologyReference> providerSources = type.getMetadata().getSourceTechnologies();
  Set<TechnologyReference> providerTargets = type.getMetadata().getTargetTechnologies();
  return (techMatches(sources, providerSources) && techMatches(targets, providerTargets));
}
origin: windup/windup

config.setOptionValue(TargetOption.NAME, targets);
final SourceAndTargetPredicate sourceAndTargetPredicate = new SourceAndTargetPredicate(sources, targets);
origin: org.jboss.windup.exec/windup-exec-api

@Override
public boolean accept(RuleProvider type)
{
  Set<TechnologyReference> providerSources = type.getMetadata().getSourceTechnologies();
  Set<TechnologyReference> providerTargets = type.getMetadata().getTargetTechnologies();
  return (techMatches(sources, providerSources) && techMatches(targets, providerTargets));
}
origin: org.jboss.windup.exec/windup-exec-api

/**
 * Creates a new instance with the given set of source and target filters.
 */
public SourceAndTargetPredicate(Collection<String> sources, Collection<String> targets)
{
  this.sources = initSet(sources);
  this.targets = initSet(targets);
}
org.jboss.windup.exec.rulefiltersSourceAndTargetPredicate

Javadoc

Provides filtering of the RuleProviders by source and target.

Most used methods

  • <init>
    Creates a new instance with the given set of source and target filters.
  • initSet
  • techMatches

Popular in Java

  • Finding current android device location
  • setContentView (Activity)
  • getSupportFragmentManager (FragmentActivity)
  • onCreateOptionsMenu (Activity)
  • FileReader (java.io)
    A specialized Reader that reads from a file in the file system. All read requests made by calling me
  • ByteBuffer (java.nio)
    A buffer for bytes. A byte buffer can be created in either one of the following ways: * #allocate
  • LinkedHashMap (java.util)
    LinkedHashMap is an implementation of Map that guarantees iteration order. All optional operations a
  • BoxLayout (javax.swing)
  • JCheckBox (javax.swing)
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
  • Top plugins for Android Studio
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