@Test public void testGetMethods() { final DistributionConfiguration configuration = new GoogleStorageWebsiteDistributionConfiguration(session); assertEquals(Collections.singletonList(Distribution.WEBSITE), configuration.getMethods(new Path("test.cyberduck.ch", EnumSet.of(Path.Type.directory, Path.Type.volume)))); }
@Override public List<Distribution.Method> getMethods(final Path container) { return Collections.singletonList(Distribution.WEBSITE); }
GoogleStorageWebsiteDistributionConfiguration implements DistributionConfiguration, Index { @Override public List<Distribution.Method> getMethods(final Path container) { return Collections.singletonList(Distribution.WEBSITE); } }
GoogleStorageWebsiteDistributionConfiguration implements DistributionConfiguration, Index { @Override public List<Distribution.Method> getMethods(final Path container) { return Collections.singletonList(Distribution.WEBSITE); } GoogleStorageWebsiteDistributionConfiguration(final GoogleStorageSession session); }
GoogleStorageWebsiteDistributionConfiguration implements DistributionConfiguration, Index { @Override public List<Distribution.Method> getMethods(final Path container) { return Collections.singletonList(Distribution.WEBSITE); } GoogleStorageWebsiteDistributionConfiguration(final GoogleStorageSession session); @Override List<Distribution.Method> getMethods(final Path container); @Override String getName(Distribution.Method method); @Override String getName(); @Override DescriptiveUrlBag toUrl(final Path file); @Override Distribution read(final Path file, final Distribution.Method method, final LoginCallback prompt); @Override void write(final Path file, final Distribution distribution, final LoginCallback prompt); @Override @SuppressWarnings("unchecked") T getFeature(final Class<T> type, final Distribution.Method method); @Override String getHostname(); }
GoogleStorageWebsiteDistributionConfiguration implements DistributionConfiguration, Index { @Override public List<Distribution.Method> getMethods(final Path container) { return Collections.singletonList(Distribution.WEBSITE); } GoogleStorageWebsiteDistributionConfiguration(final GoogleStorageSession session); @Override List<Distribution.Method> getMethods(final Path container); @Override String getName(Distribution.Method method); @Override String getName(); @Override DescriptiveUrlBag toUrl(final Path file); @Override Distribution read(final Path file, final Distribution.Method method, final LoginCallback prompt); @Override void write(final Path file, final Distribution distribution, final LoginCallback prompt); @Override @SuppressWarnings("unchecked") T getFeature(final Class<T> type, final Distribution.Method method); @Override String getHostname();  }