com.atlassian.confluence.macro.browser.beans
Enum MacroParameterType
java.lang.Object
java.lang.Enum<MacroParameterType>
com.atlassian.confluence.macro.browser.beans.MacroParameterType
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<MacroParameterType>
public enum MacroParameterType
- extends java.lang.Enum<MacroParameterType>
The type of a macro parameter that will appear in the Macro Browser.
Matches enum values in the macro_fallback.xml DTD.
Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
STRING
public static final MacroParameterType STRING
BOOLEAN
public static final MacroParameterType BOOLEAN
USERNAME
public static final MacroParameterType USERNAME
ENUM
public static final MacroParameterType ENUM
INT
public static final MacroParameterType INT
SPACE_KEY
public static final MacroParameterType SPACE_KEY
RELATIVE_DATE
public static final MacroParameterType RELATIVE_DATE
PERCENTAGE
public static final MacroParameterType PERCENTAGE
CONFLUENCE_CONTENT
public static final MacroParameterType CONFLUENCE_CONTENT
URL
public static final MacroParameterType URL
COLOR
public static final MacroParameterType COLOR
ATTACHMENT
public static final MacroParameterType ATTACHMENT
LABEL
public static final MacroParameterType LABEL
DATE
public static final MacroParameterType DATE
GROUP
public static final MacroParameterType GROUP
values
public static MacroParameterType[] 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 (MacroParameterType c : MacroParameterType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static MacroParameterType valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null
getName
public java.lang.String getName()
get
public static MacroParameterType get(java.lang.String name)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Enum<MacroParameterType>
Copyright © 2003-2010 Atlassian. All Rights Reserved.