Tabnine Logo
AtmosConfig.getProtocol
Code IndexAdd Tabnine to your IDE (free)

How to use
getProtocol
method
in
com.emc.ecs.sync.config.storage.AtmosConfig

Best Java code snippets using com.emc.ecs.sync.config.storage.AtmosConfig.getProtocol (Showing top 2 results out of 315)

origin: EMCECS/ecs-sync

super.configure(source, filters, target);
if (config.getProtocol() == null || config.getHosts() == null || config.getUid() == null || config.getSecret() == null)
  throw new ConfigurationException("must specify endpoints, uid and secret key");
for (String host : config.getHosts()) {
  try {
    endpoints.add(new URI(config.getProtocol().toString(), null, host, config.getPort(), null, null, null));
  } catch (URISyntaxException e) {
    throw new ConfigurationException("invalid host: " + host);
origin: EMCECS/ecs-sync

AtmosConfig atmosTarget = (AtmosConfig) target;
Assert.assertEquals("source protocol mismatch", sourceProtocol, atmosSource.getProtocol());
Assert.assertArrayEquals("source hosts mismatch", sourceHosts, atmosSource.getHosts());
Assert.assertEquals("source port mismatch", sourcePort, atmosSource.getPort());
Assert.assertEquals("source accessType mismatch", sourceAccessType, atmosSource.getAccessType());
Assert.assertTrue("source removeTagsOnDelete should be enabled", atmosSource.isRemoveTagsOnDelete());
Assert.assertEquals("target protocol mismatch", targetProtocol, atmosTarget.getProtocol());
Assert.assertArrayEquals("target hosts mismatch", targetHosts, atmosTarget.getHosts());
Assert.assertEquals("target port mismatch", -1, atmosTarget.getPort());
com.emc.ecs.sync.config.storageAtmosConfiggetProtocol

Popular methods of AtmosConfig

  • getAccessType
  • getHosts
  • getPath
  • getPort
  • getSecret
  • getUid
  • getWsChecksumType
  • isPreserveObjectId
  • isRemoveTagsOnDelete
  • isReplaceMetadata
  • setPath
  • <init>
  • setPath,
  • <init>,
  • bin,
  • getUri,
  • isEncodeUtf8,
  • isIncludeTopFolder,
  • isRetentionEnabled,
  • setAccessType,
  • setHosts

Popular in Java

  • Updating database using SQL prepared statement
  • scheduleAtFixedRate (Timer)
  • onRequestPermissionsResult (Fragment)
  • addToBackStack (FragmentTransaction)
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • Thread (java.lang)
    A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
  • Calendar (java.util)
    Calendar is an abstract base class for converting between a Date object and a set of integer fields
  • Servlet (javax.servlet)
    Defines methods that all servlets must implement. A servlet is a small Java program that runs within
  • BasicDataSource (org.apache.commons.dbcp)
    Basic implementation of javax.sql.DataSource that is configured via JavaBeans properties. This is no
  • Logger (org.slf4j)
    The org.slf4j.Logger interface is the main user entry point of SLF4J API. It is expected that loggin
  • Best IntelliJ plugins
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