Package org.benf.cfr.reader.api
Enum Class OutputSinkFactory.SinkType
- All Implemented Interfaces:
Serializable
,Comparable<OutputSinkFactory.SinkType>
,Constable
- Enclosing interface:
- OutputSinkFactory
Defines the kind of sink this is.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThis sink will receive any exceptions that occurThis sink will receive decompiled class files as javaThis sink will receive line number informationThis sink will receive updates on files being processed.This sink will receive a top level summary -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic OutputSinkFactory.SinkType
Returns the enum constant of this class with the specified name.static OutputSinkFactory.SinkType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
JAVA
This sink will receive decompiled class files as java -
SUMMARY
This sink will receive a top level summary -
PROGRESS
This sink will receive updates on files being processed. -
EXCEPTION
This sink will receive any exceptions that occur -
LINENUMBER
This sink will receive line number information
-
-
Constructor Details
-
SinkType
private SinkType()
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-