public enum SrpStep extends Enum<SrpStep>
Enum Constant and Description |
---|
STEP_1 |
STEP_2 |
STEP_3 |
STEP_4 |
UNKNOWN |
Modifier and Type | Method and Description |
---|---|
static SrpStep |
get(int id)
Retrieves the
SrpStep for the given ID code. |
String |
getDescription()
Retrieves the
SrpStep description. |
int |
getID()
Retrieves the
SrpStep ID code. |
static SrpStep |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SrpStep[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static SrpStep get(int id)
SrpStep
for the given ID code.id
- ID code to retrieve the SrpStep
.SrpStep
associated with the given ID code,
UNKNOWN
if there is not any SRP step associated
to the provided ID.public String getDescription()
SrpStep
description.SrpStep
description.public int getID()
SrpStep
ID code.SrpStep
ID code.public static SrpStep 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 static SrpStep[] values()
for (SrpStep c : SrpStep.values()) System.out.println(c);
© Copyright 2014 - 2024 Digi International Inc. All rights reserved.