public class PlatformImpl extends Object implements Platform
Constructor and Description |
---|
PlatformImpl(String version,
String previousVersion,
String initialVersion,
String createdBy,
long created) |
Modifier and Type | Method and Description |
---|---|
long |
getCreated()
Retrieves the timestamp at which the platform was created
|
String |
getCreatedBy()
Retrieves the name of the platform technical user that created the platform
|
String |
getInitialVersion()
Retrieves the
platform initial version. |
String |
getPreviousVersion()
Retrieves the
platform previous version. |
String |
getVersion()
Retrieves the
platform version |
String |
toString() |
public long getCreated()
Platform
getCreated
in interface Platform
public String getCreatedBy()
Platform
getCreatedBy
in interface Platform
public String getInitialVersion()
Platform
platform
initial version. That is, the Bonita version in which you have initially created the platform before migrating
to the current version.
For instance, if you have created your platform in the version 6.1.0 and have migrated to the version 6.3.4 using the Bonita Migration
Tool
, getInitialVersion
will return 6.1.0, Platform.getPreviousVersion()
will return 6.3.3 and Platform.getVersion()
will return 6.3.4.
getInitialVersion
in interface Platform
platform
initial versionPlatform.getVersion()
,
Platform.getPreviousVersion()
public String getPreviousVersion()
Platform
platform
previous version. This information only will be set if you have installed the Bonita engine
in a
previous
version before upgrading to a new version using the Bonita Migration Tool
. Otherwise, this method will return an empty string.
For instance, if you have migrated from version 6.3.3 to version 6.3.4, getPreviousVersion
will return 6.3.3 and Platform.getVersion()
will
return 6.3.4.
getPreviousVersion
in interface Platform
platform
previous versionPlatform.getVersion()
,
Platform.getInitialVersion()
public String getVersion()
Platform
platform
versiongetVersion
in interface Platform
platform
versionPlatform.getPreviousVersion()
,
Platform.getInitialVersion()
Copyright © 2020 Bonitasoft S.A. All rights reserved.