public abstract class VersionMapBase extends Object implements IVersionMap
Represents a collection of the node versions. Maps each version of the node to a previous one.
Constructor and Description |
---|
VersionMapBase() |
Modifier and Type | Method and Description |
---|---|
void |
add(VersionProxyNode versionProxy)
Adds the version proxy.
|
boolean |
contains(VersionProxyNode versionProxy)
Gets a value indicating whether the version proxy map contains the specified version proxy node.
|
abstract ExtendedGuid |
getPrecedingVersion(ExtendedGuid version)
Get the preceding version.
|
abstract com.aspose.ms.System.Collections.Generic.IGenericEnumerable<ExtendedGuid> |
getVersions()
Gets all versions of the main revision branch.
|
public void add(VersionProxyNode versionProxy)
Adds the version proxy.
add
in interface IVersionMap
versionProxy
- The version proxy.public boolean contains(VersionProxyNode versionProxy)
Gets a value indicating whether the version proxy map contains the specified version proxy node.
contains
in interface IVersionMap
versionProxy
- The version proxy.bool
.public abstract ExtendedGuid getPrecedingVersion(ExtendedGuid version)
Get the preceding version.
getPrecedingVersion
in interface IVersionMap
version
- The current version.public abstract com.aspose.ms.System.Collections.Generic.IGenericEnumerable<ExtendedGuid> getVersions()
Gets all versions of the main revision branch.
getVersions
in interface IVersionMap
IEnumerable{ExtendedGuid}
.Copyright (c) 2016 Aspose. All Rights Reserved.