@Test public void testGetClasses() { assertArrayEquals(Arrays.asList( "STANDARD", "MULTI_REGIONAL", "REGIONAL", "NEARLINE", "COLDLINE").toArray(), new GoogleStorageStorageClassFeature(session).getClasses().toArray()); }
@Override public Set<String> getClasses() { return new LinkedHashSet<>(Arrays.asList( S3Object.STORAGE_CLASS_STANDARD, "MULTI_REGIONAL", "REGIONAL", "NEARLINE", "COLDLINE") ); }
GoogleStorageStorageClassFeature implements Redundancy { @Override public Set<String> getClasses() { return new LinkedHashSet<>(Arrays.asList( S3Object.STORAGE_CLASS_STANDARD, "MULTI_REGIONAL", "REGIONAL", "NEARLINE", "COLDLINE") ); } }
GoogleStorageStorageClassFeature implements Redundancy { @Override public Set<String> getClasses() { return new LinkedHashSet<>(Arrays.asList( S3Object.STORAGE_CLASS_STANDARD, "MULTI_REGIONAL", "REGIONAL", "NEARLINE", "COLDLINE") ); } GoogleStorageStorageClassFeature(final GoogleStorageSession session); }
GoogleStorageStorageClassFeature implements Redundancy { @Override public Set<String> getClasses() { return new LinkedHashSet<>(Arrays.asList( S3Object.STORAGE_CLASS_STANDARD, "MULTI_REGIONAL", "REGIONAL", "NEARLINE", "COLDLINE") ); } 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 Set<String> getClasses() { return new LinkedHashSet<>(Arrays.asList( S3Object.STORAGE_CLASS_STANDARD, "MULTI_REGIONAL", "REGIONAL", "NEARLINE", "COLDLINE") ); } 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);  }