public enum URLProtocol extends Enum<URLProtocol>
URLParameter.| Enum Constant and Description |
|---|
LOCAL
Protocolo para URLs que apontam para a arquivos locais ao cliente.
|
PROJECT
Protocolo para URLs que apontam para a área de projetos.
|
SGA
Protocolo para URLs que apontam para a arquivos do SGA.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCommandValue()
Obtém o valor do protocolo na linha de comando ou nulo caso não tenha
valor.
|
String |
getDisplayName()
Obtém o label do protocolo.
|
String |
getType()
Obtém o tipo do protocolo.
|
String |
toString() |
static URLProtocol |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static URLProtocol[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final URLProtocol PROJECT
public static final URLProtocol LOCAL
public static final URLProtocol SGA
public static URLProtocol[] values()
for (URLProtocol c : URLProtocol.values()) System.out.println(c);
public static URLProtocol 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 String getDisplayName()
public String getType()
public String getCommandValue()
null.public String toString()
toString in class Enum<URLProtocol>Copyright © 2018. All rights reserved.