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

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

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

origin: com.atlassian.applinks/applinks-plugin

public boolean refersTo(final String key, final TypeId type, final ApplicationId applicationId) {
  return this.key.equals(key) &&
      this.type.equals(type) &&
      this.applicationId.equals(applicationId);
}
origin: com.atlassian.applinks/applinks-common

public Manifest getManifest(final URI url) throws ManifestNotFoundException {
  try {
    final Manifest downloadedManifest = downloader.download(url);
    if (downloadedManifest != null && getApplicationTypeId().equals(downloadedManifest.getTypeId())) {
      return downloadedManifest;
    }
  } catch (ManifestNotFoundException e) {
    LOG.debug("Failed to obtain an AppLinks manifest from the peer. " +
        "Treating the peer as a non-AppLinks capable host instead.");
  }
  return createManifest(url);
}
origin: com.atlassian.dragonfly/dragonfly-core

public boolean checkTargetIsSupportedJira(URI remoteUrl)
{
  final Manifest manifest;
  try
  {
    manifest = manifestRetriever.getManifest(remoteUrl);
  }
  catch (ManifestNotFoundException e)
  {
    LOG.info("Failed to retrieve manifest from " + remoteUrl, e);
    return false;
  }
  if (!manifest.getTypeId().equals(TypeId.getTypeId(typeAccessor.getApplicationType(JiraApplicationType.class))))
  {
    LOG.info(remoteUrl + " is not Jira");
    return false;
  }
  // we don't need to test the version String as (lucky for us) JIRA 4.3 was the first version to ship UAL.
  return true;
}
origin: com.atlassian.applinks/applinks-plugin-core

public Manifest getManifest(final URI url) throws ManifestNotFoundException
{
  try
  {
    final Manifest downloadedManifest = downloader.download(url);
    if (downloadedManifest != null && getApplicationTypeId().equals(downloadedManifest.getTypeId()))
    {
      return downloadedManifest;
    }
  }
  catch (ManifestNotFoundException e)
  {
    LOG.debug("Failed to obtain an AppLinks manifest from the peer. " +
        "Treating the peer as a non-AppLinks capable host instead.");
  }
  return createManifest(url);
}
origin: com.atlassian.applinks/applinks-plugin

  public boolean apply(@Nullable final EntityType input) {
    return TypeId.getTypeId(applicationLink.getType()).equals(TypeId.getTypeId(typeAccessor.getApplicationType(input.getApplicationType())));
  }
});
origin: com.atlassian.applinks/applinks-plugin

  public boolean apply(@Nullable final EntityType input) {
    return TypeId.getTypeId(internalHostApplication.getType()).equals(TypeId.getTypeId(typeAccessor.getApplicationType(input.getApplicationType())));
  }
});
com.atlassian.applinks.spi.applicationTypeIdequals

Popular methods of TypeId

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

Popular in Java

  • Making http requests using okhttp
  • setRequestProperty (URLConnection)
  • getResourceAsStream (ClassLoader)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • MessageFormat (java.text)
    Produces concatenated messages in language-neutral way. New code should probably use java.util.Forma
  • Dictionary (java.util)
    Note: Do not use this class since it is obsolete. Please use the Map interface for new implementatio
  • Iterator (java.util)
    An iterator over a sequence of objects, such as a collection.If a collection has been changed since
  • SortedMap (java.util)
    A map that has its keys ordered. The sorting is according to either the natural ordering of its keys
  • JComboBox (javax.swing)
  • JTextField (javax.swing)
  • Top plugins for Android Studio
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