com.atlassian.bamboo.utils.functions
Enum Labels.GetLabelName
java.lang.Object
java.lang.Enum<Labels.GetLabelName>
com.atlassian.bamboo.utils.functions.Labels.GetLabelName
- All Implemented Interfaces:
- com.google.common.base.Function<Label,String>, Serializable, Comparable<Labels.GetLabelName>
- Enclosing class:
- Labels
public static enum Labels.GetLabelName
- extends Enum<Labels.GetLabelName>
- implements com.google.common.base.Function<Label,String>
Methods inherited from interface com.google.common.base.Function |
equals |
INSTANCE
public static final Labels.GetLabelName INSTANCE
values
public static Labels.GetLabelName[] 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 (Labels.GetLabelName c : Labels.GetLabelName.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Labels.GetLabelName 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
apply
public String apply(@Nullable
Label input)
- Specified by:
apply
in interface com.google.common.base.Function<Label,String>
Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.