public class ParsedSimpleParameter extends ParsedParameter
| Constructor and Description |
|---|
ParsedSimpleParameter(Map<IElementAttribute<?>,Object> attributeValues,
Map<IElementStructure<?>,List<ParsedElement>> children,
String defaultCommandLinePattern)
Construtor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
checkValues()
Verifica os valores dos atributos.
|
String |
getDescription()
Obtém a descrição do parâmetro.
|
String |
getLabel()
Obtém o rótulo do parâmetro.
|
boolean |
isIgnoreIfDisabled()
Indica se o parâmetro deve ser ignorado se estiver desabilitado.
|
boolean |
isIgnoreIfInvisible()
Indica se o parâmetro deve ser ignorado se estiver invisível.
|
boolean |
isOptional()
Indica se o parâmetro é opcional.
|
boolean |
isVisible()
Indica se o parâmetro é visível.
|
getCommandLinePattern, getNamegetAttribute, getAttributes, getAttributeValue, getChildren, getChildren, getContentValue, hasAttributeValue, hasChildrenpublic ParsedSimpleParameter(Map<IElementAttribute<?>,Object> attributeValues, Map<IElementStructure<?>,List<ParsedElement>> children, String defaultCommandLinePattern) throws ParseException
attributeValues - mapa de valores dos atributos.children - lista de elementos-filhos.defaultCommandLinePattern - valor padrão da linha de comando.ParseException - em caso de erro.public void checkValues()
throws ParseException
ParsedElementcheckValues in class ParsedElementParseException - em caso de erro nos valores.public String getLabel()
public String getDescription()
public boolean isOptional()
public boolean isVisible()
public boolean isIgnoreIfInvisible()
public boolean isIgnoreIfDisabled()
Copyright © 2018. All rights reserved.