com.atlassian.applinks.api
Enum ApplicationLinkUIService.MessageFormat

java.lang.Object
  extended by java.lang.Enum<ApplicationLinkUIService.MessageFormat>
      extended by com.atlassian.applinks.api.ApplicationLinkUIService.MessageFormat
All Implemented Interfaces:
Serializable, Comparable<ApplicationLinkUIService.MessageFormat>
Enclosing interface:
ApplicationLinkUIService

public static enum ApplicationLinkUIService.MessageFormat
extends Enum<ApplicationLinkUIService.MessageFormat>

Constants for use with MessageBuilder#format(MessageFormat).


Enum Constant Summary
BANNER
          A banner with a standard AUI border and icon.
INLINE
          An inline element that can be displayed anywhere on a page.
 
Method Summary
static ApplicationLinkUIService.MessageFormat valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ApplicationLinkUIService.MessageFormat[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

INLINE

public static final ApplicationLinkUIService.MessageFormat INLINE
An inline element that can be displayed anywhere on a page.


BANNER

public static final ApplicationLinkUIService.MessageFormat BANNER
A banner with a standard AUI border and icon. This should be displayed above all other content in the gadget, or, if not in a gadget, above all other content on the page.

Method Detail

values

public static ApplicationLinkUIService.MessageFormat[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (ApplicationLinkUIService.MessageFormat c : ApplicationLinkUIService.MessageFormat.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ApplicationLinkUIService.MessageFormat valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2015 Atlassian. All rights reserved.