Package com.puppycrawl.tools.checkstyle
Enum AbstractAutomaticBean.OutputStreamOptions
- java.lang.Object
-
- java.lang.Enum<AbstractAutomaticBean.OutputStreamOptions>
-
- com.puppycrawl.tools.checkstyle.AbstractAutomaticBean.OutputStreamOptions
-
- All Implemented Interfaces:
Serializable
,Comparable<AbstractAutomaticBean.OutputStreamOptions>
- Enclosing class:
- AbstractAutomaticBean
public static enum AbstractAutomaticBean.OutputStreamOptions extends Enum<AbstractAutomaticBean.OutputStreamOptions>
Enum to specify behaviour regarding ignored modules.
-
-
Constructor Summary
Constructors Modifier Constructor Description private
OutputStreamOptions()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AbstractAutomaticBean.OutputStreamOptions
valueOf(String name)
Returns the enum constant of this type with the specified name.static AbstractAutomaticBean.OutputStreamOptions[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CLOSE
public static final AbstractAutomaticBean.OutputStreamOptions CLOSE
Close stream in the end.
-
NONE
public static final AbstractAutomaticBean.OutputStreamOptions NONE
Do nothing in the end.
-
-
Constructor Detail
-
OutputStreamOptions
private OutputStreamOptions()
-
-
Method Detail
-
values
public static AbstractAutomaticBean.OutputStreamOptions[] 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 (AbstractAutomaticBean.OutputStreamOptions c : AbstractAutomaticBean.OutputStreamOptions.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AbstractAutomaticBean.OutputStreamOptions 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
-
-