Codota Logo
TypeId.equals
Code IndexAdd Codota 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)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
BufferedReader b =
  • Codota IconInputStream in;new BufferedReader(new InputStreamReader(in))
  • Codota IconReader in;new BufferedReader(in)
  • Codota IconFile file;new BufferedReader(new FileReader(file))
  • Smart code suggestions by Codota
}
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

  • Reading from database using SQL prepared statement
  • findViewById (Activity)
  • getContentResolver (Context)
  • getApplicationContext (Context)
  • BorderLayout (java.awt)
    A border layout lays out a container, arranging and resizing its components to fit in five regions:
  • GridLayout (java.awt)
    The GridLayout class is a layout manager that lays out a container's components in a rectangular gri
  • Kernel (java.awt.image)
  • Permission (java.security)
    Abstract class for representing access to a system resource. All permissions have a name (whose inte
  • Executor (java.util.concurrent)
    An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
  • SAXParseException (org.xml.sax)
    Encapsulate an XML parse error or warning.This exception may include information for locating the er
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now