Modifier and Type | Field and Description |
---|---|
EngineType |
Engine.type
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
EngineType |
Engine.getType()
Gets the value of the 'type' field.
|
EngineType |
Engine.Builder.getType()
Gets the value of the 'type' field.
|
static EngineType |
EngineType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EngineType[] |
EngineType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
Engine.setType(EngineType value)
Sets the value of the 'type' field.
|
Engine.Builder |
Engine.Builder.setType(EngineType value)
Sets the value of the 'type' field.
|
Constructor and Description |
---|
Engine(EngineType type,
Float capacity,
Boolean hasTurboCharger)
All-args constructor.
|
Copyright © 2019 The Apache Software Foundation. All rights reserved.