@Test public void testGetClasses() { assertArrayEquals(Arrays.asList(S3Object.STORAGE_CLASS_STANDARD, "INTELLIGENT_TIERING", S3Object.STORAGE_CLASS_INFREQUENT_ACCESS, "ONEZONE_IA", S3Object.STORAGE_CLASS_REDUCED_REDUNDANCY, S3Object.STORAGE_CLASS_GLACIER, "DEEP_ARCHIVE").toArray(), new S3StorageClassFeature(new S3Session(new Host(new S3Protocol()))).getClasses().toArray()); }
@Override public Set<String> getClasses() { return STORAGE_CLASS_LIST; }
S3StorageClassFeature implements Redundancy { @Override public Set<String> getClasses() { return STORAGE_CLASS_LIST; } }
S3StorageClassFeature implements Redundancy { @Override public Set<String> getClasses() { return STORAGE_CLASS_LIST; } S3StorageClassFeature(final S3Session session); }
S3StorageClassFeature implements Redundancy { @Override public Set<String> getClasses() { return STORAGE_CLASS_LIST; } S3StorageClassFeature(final S3Session session); @Override String getDefault(); @Override Set<String> getClasses(); @Override String getClass(final Path file); @Override void setClass(final Path file, final String redundancy); }
S3StorageClassFeature implements Redundancy { @Override public Set<String> getClasses() { return STORAGE_CLASS_LIST; } S3StorageClassFeature(final S3Session session); @Override String getDefault(); @Override Set<String> getClasses(); @Override String getClass(final Path file); @Override void setClass(final Path file, final String redundancy); static final Set<String> STORAGE_CLASS_LIST; }