Codota Logo
NodeFilter.setNotification
Code IndexAdd Codota to your IDE (free)

How to use
setNotification
method
in
com.netflix.spinnaker.halyard.config.model.v1.node.NodeFilter

Best Java code snippets using com.netflix.spinnaker.halyard.config.model.v1.node.NodeFilter.setNotification (Showing top 4 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
BufferedReader b =
  • Codota IconInputStream in;new BufferedReader(new InputStreamReader(in))
  • Codota IconReader in;new BufferedReader(in)
  • Codota IconFile file;new BufferedReader(new FileReader(file))
  • Smart code suggestions by Codota
}
origin: com.netflix.spinnaker.halyard/halyard-config

public ProblemSet validateNotification(String deploymentName, String notificationName) {
 NodeFilter filter = new NodeFilter()
   .setDeployment(deploymentName)
   .setNotification(notificationName);
 return validateService.validateMatchingFilter(filter);
}
origin: spinnaker/halyard

public ProblemSet validateNotification(String deploymentName, String notificationName) {
 NodeFilter filter = new NodeFilter()
   .setDeployment(deploymentName)
   .setNotification(notificationName);
 return validateService.validateMatchingFilter(filter);
}
origin: spinnaker/halyard

public Notification getNotification(String deploymentName, String notificationName) {
 NodeFilter filter = new NodeFilter().setDeployment(deploymentName).setNotification(notificationName);
 List<Notification> matching = lookupService.getMatchingNodesOfType(filter, Notification.class);
 switch (matching.size()) {
  case 0:
   throw new ConfigNotFoundException(new ConfigProblemBuilder(Severity.FATAL,
     "No notification type with name \"" + notificationName + "\" could be found").build());
  case 1:
   return matching.get(0);
  default:
   throw new IllegalConfigException(new ConfigProblemBuilder(Severity.FATAL,
     "More than one notification type with name \"" + notificationName + "\" found").build());
 }
}
origin: com.netflix.spinnaker.halyard/halyard-config

public Notification getNotification(String deploymentName, String notificationName) {
 NodeFilter filter = new NodeFilter().setDeployment(deploymentName).setNotification(notificationName);
 List<Notification> matching = lookupService.getMatchingNodesOfType(filter, Notification.class);
 switch (matching.size()) {
  case 0:
   throw new ConfigNotFoundException(new ConfigProblemBuilder(Severity.FATAL,
     "No notification type with name \"" + notificationName + "\" could be found").build());
  case 1:
   return matching.get(0);
  default:
   throw new IllegalConfigException(new ConfigProblemBuilder(Severity.FATAL,
     "More than one notification type with name \"" + notificationName + "\" found").build());
 }
}
com.netflix.spinnaker.halyard.config.model.v1.nodeNodeFiltersetNotification

Popular methods of NodeFilter

  • <init>
  • setProvider
  • matches
  • setAccount
  • setApacheSsl
  • setApiSecurity
  • setArtifactAccount
  • setArtifactProvider
  • setAuthnMethod
  • setBakeryDefaults
  • setBaseImage
  • setCanary
  • setBaseImage,
  • setCanary,
  • setCi,
  • setCluster,
  • setDeployment,
  • setDeploymentEnvironment,
  • setFeatures,
  • setHaService,
  • setMaster,
  • setMetricStore

Popular in Java

  • Reading from database using SQL prepared statement
  • addToBackStack (FragmentTransaction)
  • requestLocationUpdates (LocationManager)
  • scheduleAtFixedRate (ScheduledExecutorService)
    Creates and executes a periodic action that becomes enabled first after the given initial delay, and
  • Graphics2D (java.awt)
    This Graphics2D class extends the Graphics class to provide more sophisticated control overgraphics
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • DataSource (javax.sql)
    A factory for connections to the physical data source that this DataSource object represents. An alt
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now