Tabnine Logo
GoogleCanaryAccountValidator.setTaskScheduler
Code IndexAdd Tabnine to your IDE (free)

How to use
setTaskScheduler
method
in
com.netflix.spinnaker.halyard.config.validate.v1.canary.google.GoogleCanaryAccountValidator

Best Java code snippets using com.netflix.spinnaker.halyard.config.validate.v1.canary.google.GoogleCanaryAccountValidator.setTaskScheduler (Showing top 1 results out of 315)

origin: spinnaker/halyard

 @Override
 public void validate(ConfigProblemSetBuilder p, GoogleCanaryServiceIntegration n) {
  GoogleCanaryAccountValidator googleCanaryAccountValidator =
    new GoogleCanaryAccountValidator()
      .setHalyardVersion(halyardVersion)
      .setRegistry(registry)
      .setTaskScheduler(taskScheduler);

  if (n.isGcsEnabled()) {
   List<GoogleCanaryAccount> accountsWithBucket =
     n.getAccounts()
       .stream()
       .filter(a -> a.getBucket() != null)
       .collect(Collectors.toList());

   if (CollectionUtils.isEmpty(accountsWithBucket)) {
    p.addProblem(Problem.Severity.ERROR, "At least one Google account must specify a bucket if GCS is enabled.");
   } else {
    accountsWithBucket.forEach(a -> googleCanaryAccountValidator.validate(p, a));
   }
  }
 }
}
com.netflix.spinnaker.halyard.config.validate.v1.canary.googleGoogleCanaryAccountValidatorsetTaskScheduler

Popular methods of GoogleCanaryAccountValidator

  • <init>
  • validate
  • setHalyardVersion
  • setRegistry

Popular in Java

  • Start an intent from android
  • setRequestProperty (URLConnection)
  • notifyDataSetChanged (ArrayAdapter)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • Color (java.awt)
    The Color class is used to encapsulate colors in the default sRGB color space or colors in arbitrary
  • FileInputStream (java.io)
    An input stream that reads bytes from a file. File file = ...finally if (in != null) in.clos
  • OutputStream (java.io)
    A writable sink for bytes.Most clients will use output streams that write data to the file system (
  • SecureRandom (java.security)
    This class generates cryptographically secure pseudo-random numbers. It is best to invoke SecureRand
  • Properties (java.util)
    A Properties object is a Hashtable where the keys and values must be Strings. Each property can have
  • JLabel (javax.swing)
  • Best plugins for Eclipse
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