We aim to publish upgrade guides as part of the Bitbucket repositories. This page only contains upgrade guides for components that do not have publicly accessible source repositories. Links to all the upgrade guides are collected on Prepare your Data Center app for Platform 7.
Class name | Code | Alternative code | Migration notes |
---|---|---|---|
com.atlassian.webdriver.applinks.component.OauthIncomingAuthenticationSection | isTwoLOAllowedSupplier() | isTwoLOAllowed() | |
com.atlassian.webdriver.applinks.grid.GridFinder | allRowsSupplier() | supplyAllRows() | |
com.atlassian.applinks.internal.common.lang.ApplinksEnums | fromName(@Nonnull final Class<E> enumType) | fromNameFunction(@Nonnull final Class<E> enumType) | |
fromNameSafe(@Nonnull final Class<E> enumType) | fromNameSafeFunction(@Nonnull final Class<E> enumType) | ||
toName() | toNameFunction() | ||
com.atlassian.applinks.internal.common.lang.FunctionalInterfaces | toGuavaPredicate(@Nonnull Predicate<T> original) | NONE | Marked for deletion. Invoke .test() on original predicate when casting to Guava type. |
com.atlassian.applinks.internal.common.rest.model.oauth.RestConsumer | REST_TRANSFORM | REST_TRANSFORM_FUNCTION | |
com.atlassian.applinks.internal.common.status.oauth.OAuthConfig | ORDER_BY_LEVEL | COMPARE_BY_LEVEL | COMPARE_BY_LEVEL is a custom comparator. In order to achieve the same functionality, it should be used like so: list.stream().sorted(COMPARE_BY_LEVEL).collect(toList()) |
com.atlassian.applinks.internal.rest.model.RestRepresentations | fromDomainFunction(@Nonnull final Class<R> restRepresentationType) | fromDomain(@Nonnull final Class<R> restRepresentationType) | |
com.atlassian.applinks.internal.rest.model.auth.compatibility.RestAuthenticationProvider | REST_TRANSFORM | REST_TRANSFORM_FUNCTION | |
com.atlassian.applinks.internal.status.error.ApplinkErrors | findCauseMatching(@Nonnull Throwable error, @Nonnull Predicate<? super Throwable> matcher) | NONE | |
com.atlassian.applinks.internal.status.oauth.OAuthConfigs | FROM_REST_CONSUMER | FROM_REST_CONSUMER_FUNCTION |
Class name | Code | Alternative code | Migration notes |
---|---|---|---|
com.atlassian.application.api.Application | DateTime buildDate() | ZonedDateTime buildZonedDate() | Third party dependency org.joda.time is replaced by java.time |
The following classes will be removed from the public API:
Class name |
---|
com.atlassian.config.AbstractConfigElement |
com.atlassian.config.AbstractConfigurationPersister |
com.atlassian.config.ApplicationConfig |
com.atlassian.config.bootstrap.BootstrappedContextLoaderListener |
com.atlassian.config.bootstrap.DefaultAtlassianBootstrapManager |
com.atlassian.config.ConfigElement |
com.atlassian.config.ConfigurationPersister |
com.atlassian.config.db.DatabaseList |
com.atlassian.config.db.DelegatingConnection |
com.atlassian.config.db.PropertyUtils |
com.atlassian.config.DefaultHomeLocator |
com.atlassian.config.lifecycle.DefaultLifecycleContext |
com.atlassian.config.lifecycle.events.ApplicationStartedEvent |
com.atlassian.config.lifecycle.events.ApplicationStoppedEvent |
com.atlassian.config.lifecycle.events.ApplicationStoppingEvent |
com.atlassian.config.lifecycle.events.ConfigEvent |
com.atlassian.config.lifecycle.events.LifecycleEvent |
com.atlassian.config.lifecycle.LifecycleManager |
com.atlassian.config.lifecycle.LifecycleServletContextListener |
com.atlassian.config.lifecycle.ServletContextListenerWrapper |
com.atlassian.config.SetupConstants |
com.atlassian.config.spring.BootstrappedContainerContext |
com.atlassian.config.xml.AbstractDom4jXmlConfigurationPersister |
com.atlassian.config.xml.DefaultDom4jXmlConfigurationPersister |
com.atlassian.config.xml.Dom4jXmlConfigElement |
com.atlassian.config.xml.Dom4jXmlListConfigElement |
com.atlassian.config.xml.Dom4jXmlMapConfigElement |
com.atlassian.config.xml.Dom4jXmlMapEntryConfigElement |
com.atlassian.config.xml.Dom4jXmlStringConfigElement |
The com.atlassian.core.logging
Java package will be removed from the public API. In addition, the following changes have been made:
Class name | Code | Alternative code | Migration notes |
---|---|---|---|
com.atlassian.core.util.thumbnail.Thumber | public BufferedImage getImage(File, com.google.common.base.Predicate<ReusableBufferedInputStream>) | public BufferedImage getImage(File, java.util.Predicate<ReusableBufferedInputStream>) | java.util.Predicate is a drop-in replacement for com.google.common.base.Predicate |
com.atlassian.core.util.thumbnail.Thumber | public BufferedImage getImage(ReusableBufferedInputStream, com.google.common.base.Predicate<ReusableBufferedInputStream>) | public BufferedImage getImage(ReusableBufferedInputStream, java.util.Predicate<ReusableBufferedInputStream>) | java.util.Predicate is a drop-in replacement for com.google.common.base.Predicate |
com.atlassian.core.util.thumbnail.ThumbnailUtil | public static com.google.common.base.Optional<ImageReader> getFirstImageReader(ImageInputStream) | public static java.util.Optional<ImageReader> getImageReader(ImageInputStream) | java.util.Optional is a replacement for com.google.common.base.Optional |
com.atlassian.core.filters.ProfilingAndErrorFilter | Class will be removed in Platform 7.0 | ||
com.atlassian.core.util.Dom4jUtil | Class will be removed in Platform 7.0 | ||
com.atlassian.core.user.preferences.UserPreferences | UserSettingsService or PluginSettingsFactory from SAL or migrate to using AO completely | Class will be removed in Platform 7.0 | |
com.atlassian.core.propertyset.CachingPropertySet | UserSettingsService or PluginSettingsFactory from SAL or migrate to using AO completely | Class will be removed in Platform 7.0 |
Class name | Code | Alternative code | Migration notes |
---|---|---|---|
com.atlassian.failurecache.executor.DaemonExecutorService | invokeAllAndGet() | invokeAllAndGetResults() | invokeAllAndGetResults() returns List instead of ImmutableList |
com.atlassian.failurecache.executor.DaemonExecutorServiceImpl | invokeAllAndGet() | invokeAllAndGetResults() | invokeAllAndGetResults() returns List instead of ImmutableList |
com.atlassian.failurecache.Cache | refresh() | n/a | Reference returned value using java.util.concurrent.Future interface |
com.atlassian.failurecache.CacheLoader | getKeys() | getAllKeys() | Return value is of type Set instead of Guava ImmutableSet |
com.atlassian.failurecache.CacheLoader | loadValue() | loadValueFuture() | Return value is of type Future instead of Guava ListenableFuture |
com.atlassian.failurecache.ExpirationDateBasedCacheImpl | refresh() | n/a | Reference returned value using java.util.concurrent.Future interface |
com.atlassian.failurecache.ExpiringValue | extractValue() | extractValueFunction() | Return value is of type Java Function instead of Guava Function |
com.atlassian.failurecache.PlaceholderFuture | ForwardingListenableFuture f = new PlaceholderFuture() | CompletableFuture f = new PlaceholderFuture() | Superclass will be changed from Guava ForwardingListenableFuture to Java CompletableFuture |
com.atlassian.failurecache.PlaceholderFuture | ListenableFuture f = p.delegate() | Future f = p.delegate() | Return value type will be changed from Guava ListenableFuture to Java Future |
com.atlassian.failurecache.PlaceholderFuture | setDelegate(ListenableFuture) | setDelegate(Future) | Parameter type will be changed from Guava ListenableFuture to Java Future |
com.atlassian.failurecache.Refreshable | ListenableFuture f = r.refreshCache() | Future f = r.refreshCache() | Return value type will be changed from Guava ListenableFuture to Java Future |
Class name | Code | Alternative code | Migration notes |
---|---|---|---|
com.atlassian.plugins.capabilities.api.AppWithCapabilities.java | DateTime getBuildDate() | ZonedDateTime getBuildDateTime() | Third party dependency org.joda.time is replaced by java.time |
com.atlassian.plugins.navlink.producer.navigation.links.NavigationLinkBase.java | DateTime getBuildDate() | ZonedDateTime getBuildDateTime() | |
com.atlassian.plugins.navlink.producer.navigation.links.NavigationLinkBuilderBase.java | buildDate(DateTime buildDate) | buildDateTime(ZonedDateTime buildDateTime) | |
com.atlassian.plugins.navlink.util.date.JodaDateToJavaTimeUtil.java | whole class | none | |
com.atlassian.plugins.navlink.producer.navigation.services.NavigationLinkRepository | matching(final com.google.common.base.Predicate<RawNavigationLink> criteria) | matching(final Predicate<RawNavigationLink> criteria) | java.util.function.Predicate is a drop-in replacement for com.google.common.base.Predicate |
com.atlassian.plugins.custom_apps.NavigationLinkRepositoryAdapter | See above | See above | See above |
com.atlassian.plugins.navlink.producer.navigation.plugin.PluginModuleTypeBasedNavigationLinkRepository | See above | See above | See above |
com.atlassian.plugins.navlink.consumer.menu.client.capabilities.CapabilitiesClient | getCapabilities(ReadOnlyApplicationLink applicationLink) | getCapabilitiesFuture(ReadOnlyApplicationLink applicationLink) | Return value is of type Future instead of Guava's ListenableFuture |
com.atlassian.plugins.navlink.consumer.menu.client.capabilities.RestCapabilitiesClient | See above | See above | See above |
com.atlassian.plugins.navlink.consumer.menu.services.NavigationLinksCacheLoader | ImmutableSet<Pair<RemoteApplicationWithCapabilities, Locale>> getKeys() | Set<Pair<RemoteApplicationWithCapabilities, Locale>> getAllKeys() | Return value is of type Set instead of Guava's ImmutableSet |
ListenableFuture<ExpiringValue<ApplicationNavigationLinks>> loadValue(final Pair<RemoteApplicationWithCapabilities, Locale> key) | Future<ExpiringValue<ApplicationNavigationLinks>> loadValueFuture(final Pair<RemoteApplicationWithCapabilities, Locale> key) | Return value is of type Future instead of Guava's ListenableFuture | |
com.atlassian.plugins.navlink.consumer.menu.client.navigation.NavigationClient | getNavigationLinks(RemoteApplicationWithCapabilities application, Locale locale) | getNavigationLinksFuture(RemoteApplicationWithCapabilities application, Locale locale) | Return value is of type Future instead of Guava's ListenableFuture |
com.atlassian.plugins.navlink.consumer.menu.client.navigation.RestNavigationClient | See above | See above | See above |
com.atlassian.plugins.capabilities.api.AppWithCapabilities | getCapabilities() | getAllCapabilities() | Return value is of type Map instead of Guava's ImmutableMap |
com.atlassian.plugins.capabilities.api.LinkedAppWithCapabilities | See above | See above | See above |
com.atlassian.plugins.navlink.producer.capabilities.RemoteApplicationWithCapabilities | See above | See above | See above |
com.atlassian.plugins.navlink.producer.capabilities.ApplicationWithCapabilities | See above | See above | See above |
com.atlassian.plugins.navlink.common.NavigationLinkService | matching(@Nonnull Locale locale, @Nonnull com.google.common.base.Predicate<NavigationLink> criteria) | matching(@Nonnull Locale locale, @Nonnull Predicate<NavigationLink> criteria) | java.util.function.Predicate is a drop-in replacement for com.google.common.base.Predicate |
com.atlassian.plugins.navlink.consumer.menu.services.RemoteNavigationLinkService | See above | See above | See above |
com.atlassian.plugins.navlink.producer.navigation.services.LocalNavigationLinkService | See above | See above | See above |
com.atlassian.plugins.navlink.consumer.menu.services.CachingRemoteNavigationLinkServiceImpl | See above | See above | See above |
com.atlassian.plugins.navlink.producer.navigation.services.LocalNavigationLinkServiceImpl | See above | See above | See above |
com.atlassian.plugins.navlink.producer.navigation.ApplicationNavigationLinks | getNavigationLinks() | getAllNavigationLinks() | Return value is of type Set instead of Guava ImmutableSet |
com.atlassian.plugins.navlink.util.executor.DaemonExecutorService | invokeAllAndGet(Iterable<? extends Callable<I>> callables, long timeout, TimeUnit unit) | invokeAllAndGet(Collection<? extends Callable<I>> callables, long timeout, TimeUnit unit) | Return value makes use of type List instead of Guava's ImmutableList |
com.atlassian.plugins.navlink.util.executor.DaemonExecutorServiceImpl | See above | See above | See above |
com.atlassian.plugins.navlink.producer.navigation.services.RawNavigationLinkPredicates | keyEquals(final String key) | equalsKey(final String key) | java.util.function.Predicate is a drop-in replacement for com.google.common.base.Predicate |
com.atlassian.plugins.navlink.consumer.menu.services.CachingLinkedApplicationCapabilitiesImpl | ListenableFuture<?> refreshCache() | Future<?> refreshCache() | Return value is of type Future instead of Guava's ListenableFuture |
com.atlassian.plugins.navlink.consumer.menu.services.CapabilitiesCacheLoader | ImmutableSet<ApplicationId> getKeys() | Set<ApplicationId> getAllKeys() | Return value is of type Set instead of Guava's ImmutableSet |
ListenableFuture<ExpiringValue<RemoteApplicationWithCapabilities>> loadValue(final ApplicationId applicationId) | Future<ExpiringValue<RemoteApplicationWithCapabilities>> loadValueFuture(ApplicationId applicationId) | Return value is of type Future instead of Guava's ListenableFuture | |
com.atlassian.plugins.navlink.producer.navigation.NavigationLinkPredicates | keyEquals(final String keyToMatch) | equalsKey(final String keyToMatch) | java.util.function.Predicate is a drop-in replacement for com.google.common.base.Predicate |
matchesCustomApp(final CustomApp customApp) | filterCustomApp(final CustomApp customApp) | java.util.function.Predicate is a drop-in replacement for com.google.common.base.Predicate |
Class name | Code | Alternative code |
---|---|---|
com.atlassian.linkaggregation.jira.JiraTimeModifiedService | DateTime getLastModified | ZonedDateTime getLastModifiedZonedDate |
com.atlassian.linkaggregation.RemoteLinkAggregateTimeModifiedService | DateTime getLastModified | ZonedDateTime getLastModifiedZonedDate |
com.atlassian.linkaggregation.impl.RemoteLinkAggregatorService | DateTime getLastModified | ZonedDateTime getLastModifiedZonedDate |
Class name | Code | Alternative code |
---|---|---|
com.atlassian.upm.api.license.event.PluginLicenseExpiredEvent | PluginLicenseExpiredEvent(PluginLicense license, DateTime expiryDate) | PluginLicenseExpiredEvent(PluginLicense license, ZonedDateTime expiryDate) |
DateTime getExpiryDate() | ZonedDateTime getExpiryZonedDate() | |
com.atlassian.upm.api.license.entity.PluginLicense | DateTime SERVER_LICENSE_CUTOFF_DATE | ZonedDateTime SERVER_LICENSE_CUTOFF_ZONED_DATE |
DateTime getCreationDate() | ZonedDateTime getCreationZonedDate() | |
DateTime getPurchaseDate() | ZonedDateTime getPurchaseZonedDate() | |
Option<DateTime> getExpiryDate() | Optional<ZonedDateTime> getExpiryZonedDate() | |
Option<Period> getTimeBeforeExpiry() | Optional<Duration> getDurationBeforeExpiry() | |
Option<DateTime> getMaintenanceExpiryDate() | Optional<ZonedDateTime> getMaintenanceExpiryZonedDate() | |
Option<Period> getTimeBeforeMaintenanceExpiry() | Optional<Duration> getDurationBeforeMaintenanceExpiry() | |
Option<DateTime> getSubscriptionEndDate() | Optional<ZonedDateTime> getSubscriptionEndZonedDate() | |
com.atlassian.upm.api.license.entity.PluginLicense.PluginLicenseMaintenancePeriodExpiredEvent | PluginLicenseMaintenancePeriodExpiredEvent(PluginLicense license, DateTime expiryDate) | PluginLicenseMaintenancePeriodExpiredEvent(PluginLicense license, ZonedDateTime expiryZonedDate) |
DateTime getExpiryDate() | ZonedDateTime getExpiryZonedDate() | |
com.atlassian.upm.license.internal.ConfluenceLicenseDateFormatter | String formatDateTime(DateTime licenseDate) | String formatDateTime(ZonedDateTime licenseDate) |
com.atlassian.upm.license.internal.BitbucketLicenseDateFormatter | String formatDateTime(DateTime licenseDate) | String formatDateTime(ZonedDateTime licenseDate) |
com.atlassian.upm.license.internal.FecruLicenseDateFormatter | String formatDate(DateTime licenseDate) | String formatDate(ZonedDateTime licenseDate) |
com.atlassian.upm.license.PluginLicenses | Option<Days>; getDaysSinceMaintenanceExpiry(PluginLicense pluginLicense) | OptionalLong daysSinceMaintenanceExpiry(PluginLicense pluginLicense) |
Function<PluginLicense, DateTime> licenseCreationDate() | Function<PluginLicense, ZonedDateTime> licenseCreationZonedDate() | |
com.atlassian.upm.license.LicensedAttributes.LicenseAttributes.Builder | Builder expiryDate(Option<DateTime> expiryDate) | Builder expiryDate(Optional<ZonedDateTime> expiryDate) |
Builder maintenanceExpiryDate(Option<DateTime> maintenanceExpiryDate) | Builder maintenanceExpiryDate(Optional<ZonedDateTime> maintenanceExpiryDate) |
Rate this page: