Tabnine Logo
IdentifiableBase.setSourceLevel
Code IndexAdd Tabnine to your IDE (free)

How to use
setSourceLevel
method
in
org.apache.maven.settings.IdentifiableBase

Best Java code snippets using org.apache.maven.settings.IdentifiableBase.setSourceLevel (Showing top 3 results out of 315)

origin: apache/maven

/**
 * @param dominant
 * @param recessive
 * @param recessiveSourceLevel
 */
private static <T extends IdentifiableBase> void shallowMergeById( List<T> dominant, List<T> recessive,
                                  String recessiveSourceLevel )
{
  Map<String, T> dominantById = mapById( dominant );
  for ( T identifiable : recessive )
  {
    if ( !dominantById.containsKey( identifiable.getId() ) )
    {
      identifiable.setSourceLevel( recessiveSourceLevel );
      dominant.add( identifiable );
    }
  }
}
origin: org.apache.maven/maven-settings-builder

/**
 * @param dominant
 * @param recessive
 * @param recessiveSourceLevel
 */
private static <T extends IdentifiableBase> void shallowMergeById( List<T> dominant, List<T> recessive,
                                  String recessiveSourceLevel )
{
  Map<String, T> dominantById = mapById( dominant );
  for ( T identifiable : recessive )
  {
    if ( !dominantById.containsKey( identifiable.getId() ) )
    {
      identifiable.setSourceLevel( recessiveSourceLevel );
      dominant.add( identifiable );
    }
  }
}
origin: io.tesla.maven/maven-settings-builder

/**
 * @param dominant
 * @param recessive
 * @param recessiveSourceLevel
 */
private static <T extends IdentifiableBase> void shallowMergeById( List<T> dominant, List<T> recessive,
                                  String recessiveSourceLevel )
{
  Map<String, T> dominantById = mapById( dominant );
  for ( T identifiable : recessive )
  {
    if ( !dominantById.containsKey( identifiable.getId() ) )
    {
      identifiable.setSourceLevel( recessiveSourceLevel );
      dominant.add( identifiable );
    }
  }
}
org.apache.maven.settingsIdentifiableBasesetSourceLevel

Popular methods of IdentifiableBase

  • getId
    Get the id field.
  • <init>
  • clone
    Method clone.
  • setId
    Set the id field.

Popular in Java

  • Reactive rest calls using spring rest template
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • addToBackStack (FragmentTransaction)
  • BufferedReader (java.io)
    Wraps an existing Reader and buffers the input. Expensive interaction with the underlying reader is
  • ConnectException (java.net)
    A ConnectException is thrown if a connection cannot be established to a remote host on a specific po
  • Time (java.sql)
    Java representation of an SQL TIME value. Provides utilities to format and parse the time's represen
  • Calendar (java.util)
    Calendar is an abstract base class for converting between a Date object and a set of integer fields
  • Annotation (javassist.bytecode.annotation)
    The annotation structure.An instance of this class is returned bygetAnnotations() in AnnotationsAttr
  • JComboBox (javax.swing)
  • CodeWhisperer alternatives
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