public class AlgorithmProperty extends Object implements Serializable
AlgorithmProperty define as propriedades com seus tipos
dos algoritmos e suas versões.| Modifier and Type | Class and Description |
|---|---|
static class |
AlgorithmProperty.PropertyType
Tipo da Propriedade.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
TYPE_SUFFIX
Sufixo que acompanha a chave da propriedade para definição do tipo
|
| Constructor and Description |
|---|
AlgorithmProperty(String key,
String label)
Construtor.
|
AlgorithmProperty(String key,
String label,
AlgorithmProperty.PropertyType type)
Construtor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getKey()
Retorna a chave da propriedade.
|
String |
getLabel()
Retorna o rótulo da propriedade.
|
AlgorithmProperty.PropertyType |
getType()
Retorna o tipo da propriedade.
|
boolean |
isValidValue(String value)
Indica se o
value está em um formato válido. |
public static final String TYPE_SUFFIX
public AlgorithmProperty(String key, String label, AlgorithmProperty.PropertyType type)
key - Chave da propriedadelabel - Rótulo da Propriedadetype - Tipo da Propriedadepublic String getKey()
public String getLabel()
public AlgorithmProperty.PropertyType getType()
public boolean isValidValue(String value)
value está em um formato válido.value - Valor a ser analizado.Copyright © 2020. All rights reserved.