public class PropertyInfo extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<PropertyInfo>
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
commandLineValue
Valor na linha de comando
|
java.lang.String |
key
Chave da propriedade
|
java.lang.String |
runtimeValue
Valor corrente
|
java.lang.String |
serverValue
Valor no arquivo de configuração do servidor (Server.properties)
|
java.lang.String |
serviceValue
Valor no arquivo de configuração do serviço
|
java.lang.String |
systemValue
Valor no arquivo de configuração do sistema
|
| Constructor and Description |
|---|
PropertyInfo(java.lang.String key)
Construtor.
|
PropertyInfo(java.lang.String key,
java.lang.String runtimeValue,
java.lang.String serviceValue,
java.lang.String serverValue,
java.lang.String systemValue,
java.lang.String commandLineValue)
Construtor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(PropertyInfo other)
Compara por ordem alfabética da chave.
|
void |
setCommandLineValue(java.lang.String value)
Atribui o valor atribuído por linha de comando.
|
void |
setRuntimeValue(java.lang.String value)
Atribui o valor em tempo de execução.
|
void |
setServerValue(java.lang.String value)
Atribui o valor atribuído no arquivo Server.properties.
|
void |
setServiceValue(java.lang.String value)
Atribui o valor definido na configuração do serviço.
|
public final java.lang.String key
public java.lang.String runtimeValue
public java.lang.String serviceValue
public java.lang.String serverValue
public java.lang.String systemValue
public java.lang.String commandLineValue
public PropertyInfo(java.lang.String key,
java.lang.String runtimeValue,
java.lang.String serviceValue,
java.lang.String serverValue,
java.lang.String systemValue,
java.lang.String commandLineValue)
key - chaveruntimeValue - valor correnteserviceValue - valor no arquivo de configuração do serviçoserverValue - valor no arquivo de configuração do servidor
(Server.properties)systemValue - valor no arquivo de configuração do sistemacommandLineValue - valor na linha de comandopublic PropertyInfo(java.lang.String key)
key - chavepublic void setServiceValue(java.lang.String value)
value - o valor definido no serviçopublic void setRuntimeValue(java.lang.String value)
value - o valor em tempo de execuçãopublic void setCommandLineValue(java.lang.String value)
value - o valor atribuído por linha de comandopublic void setServerValue(java.lang.String value)
value - o valor atribuído no arquivo de configuração Server.propertiespublic int compareTo(PropertyInfo other)
compareTo in interface java.lang.Comparable<PropertyInfo>Copyright © 2016. All Rights Reserved.