Enum Protocol.ResponseTag
java.lang.Object
java.lang.Enum<Protocol.ResponseTag>
com.google.javascript.jscomp.webservice.common.Protocol.ResponseTag
- All Implemented Interfaces:
Protocol.ProtocolEnum
,Serializable
,Comparable<Protocol.ResponseTag>
,java.lang.constant.Constable
- Enclosing class:
- Protocol
public static enum Protocol.ResponseTag
extends Enum<Protocol.ResponseTag>
implements Protocol.ProtocolEnum
All the xml/json tags that can be returned by the backend if xml or json is
selected as the output mode.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptiongetValue()
toString()
static Protocol.ResponseTag
Returns the enum constant of this type with the specified name.static Protocol.ResponseTag[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ROOT_TAG
-
COMPILED_CODE_TAG
-
WARNINGS_TAG
-
WARNING_TAG
-
ERRORS_TAG
-
ERROR_TAG
-
ERROR_LINE_NO_ATTR
-
ERROR_LINE_ATTR
-
ERROR_CHAR_ATTR
-
ERROR_FILE_ATTR
-
ERROR_TYPE_ATTR
-
STATS_TAG
-
ORIGINAL_SIZE_TAG
-
ORIGINAL_GZIP_SIZE_TAG
-
COMPRESSED_SIZE_TAG
-
COMPRESSED_GZIP_SIZE_TAG
-
COMPILE_TIME_TAG
-
SERVER_ERRORS_TAG
-
SERVER_ERROR_TAG
-
SERVER_ERROR_CODE_ATTR
-
VARIABLE_MAP
-
VARIABLE_MAP_ENTRY
-
ORIGINAL_NAME_ATTR
-
NEW_NAME_ATTR
-
OUTPUT_FILE_PATH
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getResponseTag
-
toString
- Overrides:
toString
in classEnum<Protocol.ResponseTag>
-
getValue
- Specified by:
getValue
in interfaceProtocol.ProtocolEnum
- Returns:
- A string representing the key or value specified by the protocol.
-