public static enum Scalable.ScalingConvention extends Enum<Scalable.ScalingConvention>
Enum Constant and Description |
---|
GENERATOR
Generator convention means that a positive scale will
imply an increase of generators target power and a decrease
of load consumption.
|
LOAD
Load convention means that a positive scale will
imply a decrease of generators target power and an increase
of load consumption.
|
Modifier and Type | Method and Description |
---|---|
static Scalable.ScalingConvention |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Scalable.ScalingConvention[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Scalable.ScalingConvention GENERATOR
public static final Scalable.ScalingConvention LOAD
public static Scalable.ScalingConvention[] values()
for (Scalable.ScalingConvention c : Scalable.ScalingConvention.values()) System.out.println(c);
public static Scalable.ScalingConvention 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 nullCopyright © 2020. All rights reserved.