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

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

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

origin: com.atlassian.applinks/applinks-spi

/**
 * Convenience method for looking up {@link TypeId}s from {@link EntityType}s. The
 * {@code applinks-entity-type} descriptor enforces that all registered {@link EntityType}s implement the
 * {@link IdentifiableType} interface, so the cast in the delegate method is safe.
 */
public static TypeId getTypeId(final EntityType type) {
  return get(type);
}
origin: com.atlassian.applinks/applinks-plugin

  public String apply(@Nullable EntityType from) {
    return TypeId.getTypeId(from).get();
  }
}));
origin: com.atlassian.applinks/applinks-plugin-core

  @Override
  public String marshal(final TypeId v) throws Exception
  {
    return v.get();
  }
}
origin: com.atlassian.applinks/applinks-plugin

  public String apply(@Nullable final EntityType from) {
    return TypeId.getTypeId(from).get();
  }
});
origin: com.atlassian.applinks/applinks-spi

/**
 * Convenience method for looking up {@link TypeId}s from {@link ApplicationType}s. The
 * {@code applinks-application-type} descriptor enforces that all registered {@link ApplicationType}s implement the
 * {@link IdentifiableType} interface, so the cast in the delegate method is safe.
 */
public static TypeId getTypeId(final ApplicationType type) {
  return get(type);
}
origin: com.atlassian.applinks/applinks-plugin

  public String apply(@Nullable final EntityType from) {
    return TypeId.getTypeId(from).get();
  }
});
origin: com.atlassian.applinks/applinks-common

  @Override
  public String marshal(final TypeId v) throws Exception {
    return v.get();
  }
}
origin: com.atlassian.applinks/applinks-plugin

  public String apply(@Nullable EntityType from) {
    return TypeId.getTypeId(from).get();
  }
}));
origin: com.atlassian.applinks/applinks-plugin-core

public EntityType loadEntityType(final TypeId typeId)
{
  return typeCache.get(typeId.get());
}
origin: com.atlassian.applinks/applinks-plugin

private String key(final EntityLink entity) {
  return String.format("%s.%s.%s.%s", ENTITY_PREFIX,
      escape(entity.getApplicationLink().getId().get()),
      escape(getTypeId(entity.getType()).get()),
      escape(entity.getKey())
  );
}
origin: com.atlassian.applinks/applinks-plugin-core

public ApplicationType loadApplicationType(final String typeClassName)
{
  return typeCache.get(typeClassName);
}
origin: com.atlassian.applinks/applinks-spi

  public int compareTo(final TypeId o) {
    return id.compareTo(o.get());
  }
}
origin: com.atlassian.applinks/applinks-common

  @Nonnull
  protected String getIconKey() {
    return getId().get();
  }
}
origin: com.atlassian.applinks/applinks-plugin

  public ApplicationOption(final ApplicationId id, final String name, final TypeId typeId, final String typeI18nKey,
               final boolean isUal, final String iconUri) {
    this.id = id.get();
    this.name = name;
    this.typeId = typeId.get();
    this.typeI18nKey = typeI18nKey;
    this.isUal = isUal;
    this.iconUri = iconUri;
  }
}
origin: com.atlassian.applinks/applinks-plugin-core

  @Nonnull
  protected String getIconKey()
  {
    return getId().get();
  }
}
origin: com.atlassian.applinks/applinks-tests

private static String resolveAppType(ApplicationLink link) {
  final ApplicationType type = link.getType();
  if (type instanceof IdentifiableType) {
    return IdentifiableType.class.cast(type).getId().get();
  } else {
    return type.getClass().getName();
  }
}
origin: com.atlassian.applinks/applinks-plugin

@Nonnull
@Override
protected String getIconKey() {
  return isRebrandEnabled() ? "bitbucket" : getId().get();
}
origin: com.atlassian.applinks/applinks-plugin

public void setType(final TypeId type) {
  logSettingProperty(Property.TYPE.key(), type.get());
  applinksAdminPropertySet.putProperty(Property.TYPE.key(), type.get());
}
origin: com.atlassian.applinks/applinks-plugin

public PropertySet getLocalEntityProperties(final String localEntityKey, final TypeId localEntityTypeId) {
  return getPropertySet(String.format("%s.%s.%s", LOCAL_ENTITY_PREFIX,
      escape(localEntityKey),
      escape(localEntityTypeId.get()))
  );
}
origin: com.atlassian.applinks/applinks-plugin

  public int compare(final LinkAndAuthProviderEntity e1, final LinkAndAuthProviderEntity e2) {
    final int compareByType = e1.getApplication().getTypeId().get().compareTo(e2.getApplication().getTypeId().get());
    if (compareByType != 0) {
      return compareByType;
    } else {
      //Compare by name
      return e1.getApplication().getName().compareTo(e2.getApplication().getName());
    }
  }
});
com.atlassian.applinks.spi.applicationTypeIdget

Javadoc

Convenience method for looking up TypeIds from ApplicationTypes. The applinks-application-type descriptor enforces that all registered ApplicationTypes implement the IdentifiableType interface, so the cast in the delegate method is safe.

Popular methods of TypeId

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

Popular in Java

  • Finding current android device location
  • getApplicationContext (Context)
  • setContentView (Activity)
  • scheduleAtFixedRate (Timer)
  • Container (java.awt)
    A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT co
  • Kernel (java.awt.image)
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • ByteBuffer (java.nio)
    A buffer for bytes. A byte buffer can be created in either one of the following ways: * #allocate
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
  • 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