@Test public void get_version_properties() { Version<String, String, String> version = new Version.Builder<String, String, String>() .changeset(map("key", "value")) .build(); Map<String, VersionProperty<String>> props = version.getVersionProperties(); assertThat(props).hasSize(1); VersionProperty<String> prop = props.get("key"); assertThat(prop.revision).isEqualTo(version.revision); assertThat(prop.value).isEqualTo("value"); }
public Map<K, VersionProperty<V>> getVersionProperties() { return transformValues(changeset, toVersionProperties); }
Version { public Map<K, VersionProperty<V>> getVersionProperties() { return transformValues(changeset, toVersionProperties); } }
Version { public Map<K, VersionProperty<V>> getVersionProperties() { return transformValues(changeset, toVersionProperties); } protected  Version(BuilderBase<K, V, M, ?> builder); }
Version { public Map<K, VersionProperty<V>> getVersionProperties() { return transformValues(changeset, toVersionProperties); } protected  Version(BuilderBase<K, V, M, ?> builder); Map<K, VersionProperty<V>> getVersionProperties(); int hashCode(); boolean equals(Object obj); @Override String toString(); }
Version { public Map<K, VersionProperty<V>> getVersionProperties() { return transformValues(changeset, toVersionProperties); } protected  Version(BuilderBase<K, V, M, ?> builder); Map<K, VersionProperty<V>> getVersionProperties(); int hashCode(); boolean equals(Object obj); @Override String toString(); static final String DEFAULT_BRANCH; final Revision revision; final String branch; final Set<Revision> parentRevisions; final Map<K, V> changeset; final VersionType type; final M meta; }