com.atlassian.crowd.model.application
Enum ApplicationType

java.lang.Object
  extended by java.lang.Enum<ApplicationType>
      extended by com.atlassian.crowd.model.application.ApplicationType
All Implemented Interfaces:
Serializable, Comparable<ApplicationType>

public enum ApplicationType
extends Enum<ApplicationType>

Represents the type of an application.


Enum Constant Summary
BAMBOO
           
CONFLUENCE
           
CROWD
           
CRUCIBLE
           
FISHEYE
           
GENERIC_APPLICATION
           
JIRA
           
PLUGIN
           
STASH
           
 
Method Summary
static List<ApplicationType> getCreatableAppTypes()
          Returns the list of application types that can be added by the user to Crowd as an application.
 String getDisplayName()
          Returns the display name of the application type.
static ApplicationType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ApplicationType[] 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

CROWD

public static final ApplicationType CROWD

GENERIC_APPLICATION

public static final ApplicationType GENERIC_APPLICATION

PLUGIN

public static final ApplicationType PLUGIN

JIRA

public static final ApplicationType JIRA

CONFLUENCE

public static final ApplicationType CONFLUENCE

BAMBOO

public static final ApplicationType BAMBOO

FISHEYE

public static final ApplicationType FISHEYE

CRUCIBLE

public static final ApplicationType CRUCIBLE

STASH

public static final ApplicationType STASH
Method Detail

values

public static ApplicationType[] 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 (ApplicationType c : ApplicationType.values())
    System.out.println(c);

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

valueOf

public static ApplicationType 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

getDisplayName

public String getDisplayName()
Returns the display name of the application type.

Returns:
display name of the application type

getCreatableAppTypes

public static List<ApplicationType> getCreatableAppTypes()
Returns the list of application types that can be added by the user to Crowd as an application.

Returns:
list of application types that can be added by the user to Crowd as an application.


Copyright © 2013 Atlassian. All Rights Reserved.