Searched defs:currentVersion (Results 1 - 9 of 9) sorted by relevance

/forgerock/openam-v13/openam-upgrade/src/test/java/org/forgerock/openam/upgrade/
H A DUpgradeDetectionTest.java57 public void testUpgradeDetectionCorrectness(String currentVersion, String newVersion, boolean result) { argument
58 assertEquals(VersionUtils.isVersionNewer(currentVersion, newVersion), result);
/forgerock/openam/openam-upgrade/src/test/java/org/forgerock/openam/upgrade/
H A DUpgradeDetectionTest.java57 public void testUpgradeDetectionCorrectness(String currentVersion, String newVersion, boolean result) { argument
58 assertEquals(VersionUtils.isVersionNewer(currentVersion, newVersion), result);
/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/tools/bundles/
H A DVersionCheck.java140 * @param currentVersion The string of current version.
144 protected static boolean versionCompatible(String currentVersion, argument
148 if (!currentVersion.startsWith(expectedVersion)) {
154 currentVersion.length());
160 if (expectedVersion.charAt(i) < currentVersion.charAt(i)) {
164 if (currentVersion.charAt(i) > expectedVersion.charAt(i)) {
167 if (currentVersion.charAt(i) < expectedVersion.charAt(i)) {
/forgerock/openam-v13/openam-core/src/main/java/org/forgerock/openam/upgrade/
H A DVersionUtils.java75 public static boolean isVersionNewer(String currentVersion, String warVersion) { argument
76 String[] current = parseVersion(currentVersion);
91 DEBUG.error("Unable to parse date strings; current:" + currentVersion +
H A DOpenDJUpgrader.java107 private final OpenDJVersion currentVersion; field in class:OpenDJUpgrader
127 OpenDJVersion currentVersion = readCurrentVersion();
128 if (upgradeMarker.exists() && newVersion.equals(currentVersion)) {
131 this.currentVersion = readVersionFromFile(upgradeMarker);
133 this.currentVersion = currentVersion;
159 return newVersion.isMoreRecentThan(currentVersion) ||
160 (newVersion.equals(currentVersion) && newVersion.isDifferentBuildTo(currentVersion));
178 out.write(currentVersion
[all...]
/forgerock/openidm-v4/openidm-maintenance/src/main/java/org/forgerock/openidm/maintenance/upgrade/
H A DStaticFileUpdate.java41 private final ProductVersion currentVersion; field in class:StaticFileUpdate
46 final ProductVersion currentVersion, final long timestamp) {
50 this.currentVersion = currentVersion;
45 StaticFileUpdate(final FileStateChecker fileStateChecker, final Path openidmRoot, final Archive archive, final ProductVersion currentVersion, final long timestamp) argument
/forgerock/openam/openam-core/src/main/java/com/sun/identity/tools/bundles/
H A DVersionCheck.java140 * @param currentVersion The string of current version.
144 protected static boolean versionCompatible(String currentVersion, argument
148 if (!currentVersion.startsWith(expectedVersion)) {
154 currentVersion.length());
160 if (expectedVersion.charAt(i) < currentVersion.charAt(i)) {
164 if (currentVersion.charAt(i) > expectedVersion.charAt(i)) {
167 if (currentVersion.charAt(i) < expectedVersion.charAt(i)) {
/forgerock/openam/openam-core/src/main/java/org/forgerock/openam/upgrade/
H A DVersionUtils.java75 public static boolean isVersionNewer(String currentVersion, String warVersion) { argument
76 String[] current = parseVersion(currentVersion);
91 DEBUG.error("Unable to parse date strings; current:" + currentVersion +
H A DOpenDJUpgrader.java106 private final OpenDJVersion currentVersion; field in class:OpenDJUpgrader
128 OpenDJVersion currentVersion = readCurrentVersion();
129 if (upgradeMarker.exists() && newVersion.equals(currentVersion)) {
132 this.currentVersion = readVersionFromFile(upgradeMarker);
134 this.currentVersion = currentVersion;
160 return newVersion.isMoreRecentThan(currentVersion) ||
161 (newVersion.equals(currentVersion) && newVersion.isDifferentBuildTo(currentVersion));
180 out.write(currentVersion
[all...]

Completed in 262 milliseconds