Package org.opencms.workplace.commons
Class CmsHistoryList.CmsVersionWrapper
java.lang.Object
org.opencms.workplace.commons.CmsHistoryList.CmsVersionWrapper
- All Implemented Interfaces:
Comparable<Object>
- Enclosing class:
- CmsHistoryList
Wrapper class for the version which is either an integer or the string "offline".
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
CmsVersionWrapper
Constructs a new version wrapper.- Parameters:
version
- the version of the file
-
-
Method Details
-
compareTo
- Specified by:
compareTo
in interfaceComparable<Object>
- See Also:
-
equals
-
getVersion
Returns the version of the file.- Returns:
- the version of the file
-
hashCode
-
toString
-