Package org.benf.cfr.reader.api
Enum OutputSinkFactory.SinkType
- java.lang.Object
-
- java.lang.Enum<OutputSinkFactory.SinkType>
-
- org.benf.cfr.reader.api.OutputSinkFactory.SinkType
-
- All Implemented Interfaces:
Serializable
,Comparable<OutputSinkFactory.SinkType>
- Enclosing interface:
- OutputSinkFactory
public static enum OutputSinkFactory.SinkType extends Enum<OutputSinkFactory.SinkType>
Defines the kind of sink this is.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static OutputSinkFactory.SinkType
valueOf(String name)
Returns the enum constant of this type with the specified name.static OutputSinkFactory.SinkType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
JAVA
public static final OutputSinkFactory.SinkType JAVA
This sink will receive decompiled class files as java
-
SUMMARY
public static final OutputSinkFactory.SinkType SUMMARY
This sink will receive a top level summary
-
PROGRESS
public static final OutputSinkFactory.SinkType PROGRESS
This sink will receive updates on files being processed.
-
EXCEPTION
public static final OutputSinkFactory.SinkType EXCEPTION
This sink will receive any exceptions that occur
-
-
Method Detail
-
values
public static OutputSinkFactory.SinkType[] 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 (OutputSinkFactory.SinkType c : OutputSinkFactory.SinkType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OutputSinkFactory.SinkType 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
-
-