public static enum DummyProductBuilder.Size extends Enum<DummyProductBuilder.Size>
Enum Constant and Description |
---|
LARGE
Large
|
MEDIUM
Medium
|
SMALL
Small (default, for unit-testing)
|
Modifier and Type | Method and Description |
---|---|
static DummyProductBuilder.Size |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DummyProductBuilder.Size[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DummyProductBuilder.Size SMALL
public static final DummyProductBuilder.Size MEDIUM
public static final DummyProductBuilder.Size LARGE
public static DummyProductBuilder.Size[] values()
for (DummyProductBuilder.Size c : DummyProductBuilder.Size.values()) System.out.println(c);
public static DummyProductBuilder.Size 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 © 2014–2017 European Space Agency (ESA). All rights reserved.