Package org.sonar.iac.docker.tree.api
Enum DockerTree.Kind
- java.lang.Object
-
- java.lang.Enum<DockerTree.Kind>
-
- org.sonar.iac.docker.tree.api.DockerTree.Kind
-
- All Implemented Interfaces:
com.sonar.sslr.api.AstNodeType,Serializable,Comparable<DockerTree.Kind>,org.sonar.sslr.grammar.GrammarRuleKey
- Enclosing interface:
- DockerTree
public static enum DockerTree.Kind extends Enum<DockerTree.Kind> implements org.sonar.sslr.grammar.GrammarRuleKey
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DockerTree.KindvalueOf(String name)Returns the enum constant of this type with the specified name.static DockerTree.Kind[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FILE
public static final DockerTree.Kind FILE
-
BODY
public static final DockerTree.Kind BODY
-
DOCKERIMAGE
public static final DockerTree.Kind DOCKERIMAGE
-
INSTRUCTION
public static final DockerTree.Kind INSTRUCTION
-
ONBUILD
public static final DockerTree.Kind ONBUILD
-
FROM
public static final DockerTree.Kind FROM
-
PARAM
public static final DockerTree.Kind PARAM
-
ALIAS
public static final DockerTree.Kind ALIAS
-
MAINTAINER
public static final DockerTree.Kind MAINTAINER
-
STOPSIGNAL
public static final DockerTree.Kind STOPSIGNAL
-
WORKDIR
public static final DockerTree.Kind WORKDIR
-
EXPOSE
public static final DockerTree.Kind EXPOSE
-
LABEL
public static final DockerTree.Kind LABEL
-
ENV
public static final DockerTree.Kind ENV
-
KEY_VALUE_PAIR
public static final DockerTree.Kind KEY_VALUE_PAIR
-
ARG
public static final DockerTree.Kind ARG
-
CMD
public static final DockerTree.Kind CMD
-
ENTRYPOINT
public static final DockerTree.Kind ENTRYPOINT
-
RUN
public static final DockerTree.Kind RUN
-
SHELL_FORM
public static final DockerTree.Kind SHELL_FORM
-
EXEC_FORM
public static final DockerTree.Kind EXEC_FORM
-
ADD
public static final DockerTree.Kind ADD
-
COPY
public static final DockerTree.Kind COPY
-
VOLUME
public static final DockerTree.Kind VOLUME
-
USER
public static final DockerTree.Kind USER
-
SHELL
public static final DockerTree.Kind SHELL
-
HEALTHCHECK
public static final DockerTree.Kind HEALTHCHECK
-
HEREDOCUMENT
public static final DockerTree.Kind HEREDOCUMENT
-
TOKEN
public static final DockerTree.Kind TOKEN
-
STRING_LITERAL
public static final DockerTree.Kind STRING_LITERAL
-
EXPANDABLE_STRING_LITERAL
public static final DockerTree.Kind EXPANDABLE_STRING_LITERAL
-
EXPANDABLE_STRING_CHARACTERS
public static final DockerTree.Kind EXPANDABLE_STRING_CHARACTERS
-
REGULAR_VARIABLE
public static final DockerTree.Kind REGULAR_VARIABLE
-
ENCAPSULATED_VARIABLE
public static final DockerTree.Kind ENCAPSULATED_VARIABLE
-
ARGUMENT
public static final DockerTree.Kind ARGUMENT
-
-
Method Detail
-
values
public static DockerTree.Kind[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (DockerTree.Kind c : DockerTree.Kind.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DockerTree.Kind valueOf(String name)
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
-
-