Interface IVersionDescriptor
-
- All Known Implementing Classes:
ProjectVersion
@OpenApiAll public interface IVersionDescriptor
VersionDescriptor is used to identify concrete version in resource history. Provides information about such as name and date.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getAuthor()
An author name of version.java.lang.String
getComment()
Gets comment of this version.java.util.Date
getDate()
Returns date when version was created.java.lang.String
getName()
Returns user friendly version name or tag.java.lang.String
getRevertedVersion()
Gets version from which this version was reverted
-
-
-
Method Detail
-
getName
java.lang.String getName()
Returns user friendly version name or tag. Like 1.1 or 2.3.2- Returns:
- version name
-
getDate
java.util.Date getDate()
Returns date when version was created.- Returns:
- version date
-
getAuthor
java.lang.String getAuthor()
An author name of version. Null if such information is not available.- Returns:
- author name
-
getComment
java.lang.String getComment()
Gets comment of this version.- Returns:
- comment
-
getRevertedVersion
java.lang.String getRevertedVersion()
Gets version from which this version was reverted- Returns:
- version name from which was reverted or
null
if none
-
-