public static class ExecutionLocation.ExecutionLocationConverter extends Object implements StringToEnumConverter<ExecutionLocation>
| Constructor and Description |
|---|
ExecutionLocationConverter() |
| Modifier and Type | Method and Description |
|---|---|
String[] |
getPossibleMatches(ExecutionLocation value)
Retorna as strings que correspondem a cada um dos possíveis valores da
enumeração
ExecutionLocation. |
ExecutionLocation |
valueOf(String string)
Retorna o valor da enumeração que corresponde a uma determinada string.
|
public String[] getPossibleMatches(ExecutionLocation value)
ExecutionLocation.value - O valor da enumeração.public ExecutionLocation valueOf(String string) throws ParseException
valueOf in interface StringToEnumConverter<ExecutionLocation>string - A string a ser convertida (Não aceita null).ParseException - Caso não seja possível converter a string em um item
de enumeração.Copyright © 2021. All rights reserved.