congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
Pubsub.getPubsubType
Code IndexAdd Tabnine to your IDE (free)

How to use
getPubsubType
method
in
com.netflix.spinnaker.halyard.config.model.v1.node.Pubsub

Best Java code snippets using com.netflix.spinnaker.halyard.config.model.v1.node.Pubsub.getPubsubType (Showing top 2 results out of 315)

origin: spinnaker/halyard

@Override
public String getNodeName() {
 return getPubsubType().getName();
}
origin: spinnaker/halyard

public void setPubsub(String deploymentName, Pubsub pubsub) {
 DeploymentConfiguration deploymentConfiguration = deploymentService.getDeploymentConfiguration(deploymentName);
 Pubsubs pubsubs = deploymentConfiguration.getPubsub();
 switch (pubsub.getPubsubType()) {
  case GOOGLE:
   pubsubs.setGoogle((GooglePubsub) pubsub);
   break;
  default:
   throw new IllegalArgumentException("Unknown pubsub type " + pubsub.getPubsubType());
 }
}
com.netflix.spinnaker.halyard.config.model.v1.nodePubsubgetPubsubType

Popular methods of Pubsub

  • getSubscriptions
  • getPublishers
  • isEnabled
  • setEnabled
  • pubsubType

Popular in Java

  • Running tasks concurrently on multiple threads
  • onCreateOptionsMenu (Activity)
  • notifyDataSetChanged (ArrayAdapter)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • FileWriter (java.io)
    A specialized Writer that writes to a file in the file system. All write requests made by calling me
  • Proxy (java.net)
    This class represents proxy server settings. A created instance of Proxy stores a type and an addres
  • Locale (java.util)
    Locale represents a language/country/variant combination. Locales are used to alter the presentatio
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
  • TimeUnit (java.util.concurrent)
    A TimeUnit represents time durations at a given unit of granularity and provides utility methods to
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • Top 12 Jupyter Notebook extensions
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