public static enum PotentialSchemaSource.Costs extends Enum<PotentialSchemaSource.Costs>
| Enum Constant and Description |
|---|
COMPUTATION
The source is available via a computation.
|
IMMEDIATE
The source is immediately available, via a lookup or similar.
|
LOCAL_IO
The source is available by performing local IO, such that reading
from a disk.
|
REMOTE_IO
The source is available by performing remote IO, such as fetching
from an HTTP server or similar.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getValue()
The the cost value.
|
static PotentialSchemaSource.Costs |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PotentialSchemaSource.Costs[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PotentialSchemaSource.Costs IMMEDIATE
public static final PotentialSchemaSource.Costs COMPUTATION
public static final PotentialSchemaSource.Costs LOCAL_IO
public static final PotentialSchemaSource.Costs REMOTE_IO
public static PotentialSchemaSource.Costs[] values()
for (PotentialSchemaSource.Costs c : PotentialSchemaSource.Costs.values()) System.out.println(c);
public static PotentialSchemaSource.Costs 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 int getValue()
Copyright © 2019 OpenDaylight. All rights reserved.