ro.isdc.wro.extensions.support.lint
Enum ReportXmlFormatter.FormatterType
java.lang.Object
java.lang.Enum<ReportXmlFormatter.FormatterType>
ro.isdc.wro.extensions.support.lint.ReportXmlFormatter.FormatterType
- All Implemented Interfaces:
- Serializable, Comparable<ReportXmlFormatter.FormatterType>
- Enclosing class:
- ReportXmlFormatter
public static enum ReportXmlFormatter.FormatterType
- extends Enum<ReportXmlFormatter.FormatterType>
LINT
public static final ReportXmlFormatter.FormatterType LINT
CHECKSTYLE
public static final ReportXmlFormatter.FormatterType CHECKSTYLE
CSSLINT
public static final ReportXmlFormatter.FormatterType CSSLINT
JSLINT
public static final ReportXmlFormatter.FormatterType JSLINT
values
public static ReportXmlFormatter.FormatterType[] 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 (ReportXmlFormatter.FormatterType c : ReportXmlFormatter.FormatterType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static ReportXmlFormatter.FormatterType 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 name
NullPointerException
- if the argument is null
getByFormat
public static ReportXmlFormatter.FormatterType getByFormat(String format)
- Parameters:
format
- of the ReportXmlFormatter.FormatterType
to return.
- Returns:
- the
ReportXmlFormatter.FormatterType
of searched format type or null if such format does not exist.
getSupportedFormatsAsCSV
public static String getSupportedFormatsAsCSV()
- Returns:
- supported formats as CSV.
getFormat
public String getFormat()
- Returns:
- string representation of the format.
Copyright © 2008-2013. All Rights Reserved.