Tabnine Logo
BillOfMaterials$ArtifactSources.getDebianRepository
Code IndexAdd Tabnine to your IDE (free)

How to use
getDebianRepository
method
in
com.netflix.spinnaker.halyard.core.registry.v1.BillOfMaterials$ArtifactSources

Best Java code snippets using com.netflix.spinnaker.halyard.core.registry.v1.BillOfMaterials$ArtifactSources.getDebianRepository (Showing top 4 results out of 315)

origin: com.netflix.spinnaker.halyard/halyard-config

 public ArtifactSourcesConfig mergeWithBomSources(BillOfMaterials.ArtifactSources artifactSources) {
  if (artifactSources == null) {
   return this;
  }

  if (StringUtils.isNotEmpty(artifactSources.getGoogleImageProject())) {
   googleImageProject = artifactSources.getGoogleImageProject();
  }

  if (StringUtils.isNotEmpty(artifactSources.getDockerRegistry())) {
   dockerRegistry = artifactSources.getDockerRegistry();
  }

  if (StringUtils.isNotEmpty(artifactSources.getDebianRepository())) {
   debianRepository = artifactSources.getDebianRepository();
  }

  if (StringUtils.isNotEmpty(artifactSources.getDebianRepository())) {
   gitPrefix = artifactSources.getGitPrefix();
  }

  return this;
 }
}
origin: spinnaker/halyard

 public ArtifactSourcesConfig mergeWithBomSources(BillOfMaterials.ArtifactSources artifactSources) {
  if (artifactSources == null) {
   return this;
  }

  if (StringUtils.isNotEmpty(artifactSources.getGoogleImageProject())) {
   googleImageProject = artifactSources.getGoogleImageProject();
  }

  if (StringUtils.isNotEmpty(artifactSources.getDockerRegistry())) {
   dockerRegistry = artifactSources.getDockerRegistry();
  }

  if (StringUtils.isNotEmpty(artifactSources.getDebianRepository())) {
   debianRepository = artifactSources.getDebianRepository();
  }

  if (StringUtils.isNotEmpty(artifactSources.getDebianRepository())) {
   gitPrefix = artifactSources.getGitPrefix();
  }

  return this;
 }
}
origin: spinnaker/halyard

private BillOfMaterials.ArtifactSources mergeArtifactSources(BillOfMaterials.ArtifactSources baseline, BillOfMaterials.ArtifactSources overrides) {
 if (baseline == null) {
  return overrides;
 }
 if (overrides == null) {
  return baseline;
 }
 BillOfMaterials.ArtifactSources merged = new BillOfMaterials.ArtifactSources()
   .setDebianRepository(baseline.getDebianRepository())
   .setDockerRegistry(baseline.getDockerRegistry())
   .setGitPrefix(baseline.getGitPrefix())
   .setGoogleImageProject(baseline.getGoogleImageProject());
 if (StringUtils.isNotEmpty(overrides.getDebianRepository())) {
  merged.setDebianRepository(overrides.getDebianRepository());
 }
 if (StringUtils.isNotEmpty(overrides.getDockerRegistry())) {
  merged.setDockerRegistry(overrides.getDockerRegistry());
 }
 if (StringUtils.isNotEmpty(overrides.getGitPrefix())) {
  merged.setGitPrefix(overrides.getGitPrefix());
 }
 if (StringUtils.isNotEmpty(overrides.getGoogleImageProject())) {
  merged.setGoogleImageProject(overrides.getGoogleImageProject());
 }
 return merged;
}
origin: com.netflix.spinnaker.halyard/halyard-deploy

private BillOfMaterials.ArtifactSources mergeArtifactSources(BillOfMaterials.ArtifactSources baseline, BillOfMaterials.ArtifactSources overrides) {
 if (baseline == null) {
  return overrides;
 }
 if (overrides == null) {
  return baseline;
 }
 BillOfMaterials.ArtifactSources merged = new BillOfMaterials.ArtifactSources()
   .setDebianRepository(baseline.getDebianRepository())
   .setDockerRegistry(baseline.getDockerRegistry())
   .setGitPrefix(baseline.getGitPrefix())
   .setGoogleImageProject(baseline.getGoogleImageProject());
 if (StringUtils.isNotEmpty(overrides.getDebianRepository())) {
  merged.setDebianRepository(overrides.getDebianRepository());
 }
 if (StringUtils.isNotEmpty(overrides.getDockerRegistry())) {
  merged.setDockerRegistry(overrides.getDockerRegistry());
 }
 if (StringUtils.isNotEmpty(overrides.getGitPrefix())) {
  merged.setGitPrefix(overrides.getGitPrefix());
 }
 if (StringUtils.isNotEmpty(overrides.getGoogleImageProject())) {
  merged.setGoogleImageProject(overrides.getGoogleImageProject());
 }
 return merged;
}
com.netflix.spinnaker.halyard.core.registry.v1BillOfMaterials$ArtifactSourcesgetDebianRepository

Popular methods of BillOfMaterials$ArtifactSources

  • getDockerRegistry
  • getGitPrefix
  • getGoogleImageProject
  • <init>
  • setDebianRepository
  • setDockerRegistry
  • setGitPrefix
  • setGoogleImageProject

Popular in Java

  • Updating database using SQL prepared statement
  • requestLocationUpdates (LocationManager)
  • getApplicationContext (Context)
  • addToBackStack (FragmentTransaction)
  • Selector (java.nio.channels)
    A controller for the selection of SelectableChannel objects. Selectable channels can be registered w
  • SortedMap (java.util)
    A map that has its keys ordered. The sorting is according to either the natural ordering of its keys
  • StringTokenizer (java.util)
    Breaks a string into tokens; new code should probably use String#split.> // Legacy code: StringTo
  • TreeSet (java.util)
    TreeSet is an implementation of SortedSet. All optional operations (adding and removing) are support
  • Servlet (javax.servlet)
    Defines methods that all servlets must implement. A servlet is a small Java program that runs within
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
  • 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