Package org.opencms.setup
Class CmsUpdateInfo
- java.lang.Object
-
- org.opencms.setup.CmsUpdateInfo
-
public class CmsUpdateInfo extends java.lang.Object
Conveniently stores information necessary during the update.
-
-
Field Summary
Fields Modifier and Type Field Description static CmsUpdateInfo
INSTANCE
The single instance of this class.
-
Constructor Summary
Constructors Constructor Description CmsUpdateInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.opencms.module.CmsModuleVersion
getAdeModuleVersion()
Gets the container page editor version.boolean
needToSetCategoryFolder()
Checks if the categoryfolder setting needs to be updated.void
setAdeModuleVersion(org.opencms.module.CmsModuleVersion version)
Sets the container page editor version.
-
-
-
Field Detail
-
INSTANCE
public static CmsUpdateInfo INSTANCE
The single instance of this class.
-
-
Constructor Detail
-
CmsUpdateInfo
public CmsUpdateInfo()
-
-
Method Detail
-
getAdeModuleVersion
public org.opencms.module.CmsModuleVersion getAdeModuleVersion()
Gets the container page editor version.- Returns:
- the module version
-
needToSetCategoryFolder
public boolean needToSetCategoryFolder()
Checks if the categoryfolder setting needs to be updated.- Returns:
- true if the categoryfolder setting needs to be updated
-
setAdeModuleVersion
public void setAdeModuleVersion(org.opencms.module.CmsModuleVersion version)
Sets the container page editor version.- Parameters:
version
- the module version
-
-