@Test(expected = NotfoundException.class) public void testNotFound() throws Exception { final Path container = new Path("test.cyberduck.ch", EnumSet.of(Path.Type.directory)); final Path test = new Path(container, UUID.randomUUID().toString(), EnumSet.of(Path.Type.file)); final GoogleStorageStorageClassFeature feature = new GoogleStorageStorageClassFeature(session); feature.getClass(test); }
@Override public String getClass(final Path file) throws BackgroundException { return new GoogleStorageAttributesFinderFeature(session).find(file).getStorageClass(); }
GoogleStorageStorageClassFeature implements Redundancy { @Override public String getClass(final Path file) throws BackgroundException { return new GoogleStorageAttributesFinderFeature(session).find(file).getStorageClass(); } }
GoogleStorageStorageClassFeature implements Redundancy { @Override public String getClass(final Path file) throws BackgroundException { return new GoogleStorageAttributesFinderFeature(session).find(file).getStorageClass(); } GoogleStorageStorageClassFeature(final GoogleStorageSession session); }
GoogleStorageStorageClassFeature implements Redundancy { @Override public String getClass(final Path file) throws BackgroundException { return new GoogleStorageAttributesFinderFeature(session).find(file).getStorageClass(); } GoogleStorageStorageClassFeature(final GoogleStorageSession session); @Override String getDefault(); @Override Set<String> getClasses(); @Override String getClass(final Path file); @Override void setClass(final Path file, final String redundancy); }
GoogleStorageStorageClassFeature implements Redundancy { @Override public String getClass(final Path file) throws BackgroundException { return new GoogleStorageAttributesFinderFeature(session).find(file).getStorageClass(); } GoogleStorageStorageClassFeature(final GoogleStorageSession session); @Override String getDefault(); @Override Set<String> getClasses(); @Override String getClass(final Path file); @Override void setClass(final Path file, final String redundancy);  }