Tabnine Logo
TypeId.toString
Code IndexAdd Tabnine to your IDE (free)

How to use
toString
method
in
com.atlassian.applinks.spi.application.TypeId

Best Java code snippets using com.atlassian.applinks.spi.application.TypeId.toString (Showing top 5 results out of 315)

origin: com.atlassian.applinks/applinks-plugin-core

@Override
public String toString()
{
  return getId().toString();
}
origin: com.atlassian.applinks/applinks-common

@Override
public String toString() {
  return getId().toString();
}
origin: com.atlassian.applinks/applinks-plugin

error = i18nResolver.getText("applinks.legacy.upgrade.error.manifest",
    TypeId.getTypeId(
        applicationLink.getType()).toString(),
    applicationLink.getId().toString());
origin: com.atlassian.applinks/applinks-plugin

error = i18nResolver.getText("applinks.legacy.upgrade.error.manifest",
    TypeId.getTypeId(
        applicationLink.getType()).toString(),
    applicationLink.getId().toString());
origin: com.atlassian.applinks/applinks-plugin

  @Override
  public ApplicationLinkState callWithContext() throws Exception {
    if (manifestRetriever.getApplicationStatus(applicationLink.getRpcUrl(), applicationLink.getType()) == ApplicationStatus.UNAVAILABLE) {
      return ApplicationLinkState.OFFLINE;
    } else {
      try {
        final Manifest manifest = manifestRetriever.getManifest(applicationLink.getRpcUrl(), applicationLink.getType());
        if (!applicationLink.getId().equals(manifest.getId())) {
          if (manifest.getAppLinksVersion() != null && manifest.getAppLinksVersion().getMajor() >= 3) {
            return ApplicationLinkState.UPGRADED_TO_UAL;
          } else {
            return ApplicationLinkState.UPGRADED;
          }
        }
      } catch (ManifestNotFoundException e) {
        // unknown application type
        LOG.error("The {} application type failed to produce a " +
                "Manifest for Application Link {}, so we cannot " +
                "determine the link status.", TypeId.getTypeId(
            applicationLink.getType()).toString(),
            applicationLink.getId().toString());
      }
      return ApplicationLinkState.OK;
    }
  }
});
com.atlassian.applinks.spi.applicationTypeIdtoString

Popular methods of TypeId

  • get
  • <init>
  • equals
  • getTypeId
    Convenience method for looking up TypeIds from EntityTypes. The applinks-entity-type descriptor enfo
  • compareTo

Popular in Java

  • Updating database using SQL prepared statement
  • compareTo (BigDecimal)
  • notifyDataSetChanged (ArrayAdapter)
  • getSharedPreferences (Context)
  • URL (java.net)
    A Uniform Resource Locator that identifies the location of an Internet resource as specified by RFC
  • NumberFormat (java.text)
    The abstract base class for all number formats. This class provides the interface for formatting and
  • List (java.util)
    An ordered collection (also known as a sequence). The user of this interface has precise control ove
  • Semaphore (java.util.concurrent)
    A counting semaphore. Conceptually, a semaphore maintains a set of permits. Each #acquire blocks if
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.
  • HttpServlet (javax.servlet.http)
    Provides an abstract class to be subclassed to create an HTTP servlet suitable for a Web site. A sub
  • Best plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now