public static enum Apis.IdFunction extends Enum<Apis.IdFunction> implements com.google.common.base.Function<ApiMetadata,String>
Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Method and Description |
---|---|
String |
apply(ApiMetadata input) |
static Apis.IdFunction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Apis.IdFunction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Apis.IdFunction INSTANCE
public static Apis.IdFunction[] values()
for (Apis.IdFunction c : Apis.IdFunction.values()) System.out.println(c);
public static Apis.IdFunction valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic String apply(ApiMetadata input)
apply
in interface com.google.common.base.Function<ApiMetadata,String>
Copyright © 2009-2013 jclouds. All Rights Reserved.