Page tree
Skip to end of metadata
Go to start of metadata

Package summary

The Config class make it easier the platform updating.

Package main classes

Domain

DomainDescriptionMain properties
Version

A new Cytomine version

Long number
Date deployed 

Package description

After each bootstrap execution, we check if the current Cytomine version has already been executed on this database.
If it is not the case, we add the new version on the database.

During the bootstrap, the method Boolean Version.isOlderVersion(Long) provides a way to run code only if the database was in an old version.

if(Version.isOlderVersion(20140715)) {
	//do some work
}

If Cytomine was in version 20140701 and if we want deploy the new version (e.g. 20140801), the code inside de if will be executed.  

  • No labels