Enum SkipPropertiesDateLineWriter.State
- java.lang.Object
-
- java.lang.Enum<SkipPropertiesDateLineWriter.State>
-
- org.apache.maven.plugins.shade.resource.properties.io.SkipPropertiesDateLineWriter.State
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<SkipPropertiesDateLineWriter.State>
- Enclosing class:
- SkipPropertiesDateLineWriter
private static enum SkipPropertiesDateLineWriter.State extends java.lang.Enum<SkipPropertiesDateLineWriter.State>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DONE
MUST_SKIP_DATE_COMMENT
SKIPPED_DATE_COMMENT
-
Constructor Summary
Constructors Modifier Constructor Description private
State()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description (package private) abstract SkipPropertiesDateLineWriter.State
next()
(package private) abstract boolean
shouldSkip(java.lang.String content)
static SkipPropertiesDateLineWriter.State
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SkipPropertiesDateLineWriter.State[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MUST_SKIP_DATE_COMMENT
public static final SkipPropertiesDateLineWriter.State MUST_SKIP_DATE_COMMENT
-
SKIPPED_DATE_COMMENT
public static final SkipPropertiesDateLineWriter.State SKIPPED_DATE_COMMENT
-
DONE
public static final SkipPropertiesDateLineWriter.State DONE
-
-
Method Detail
-
values
public static SkipPropertiesDateLineWriter.State[] 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 (SkipPropertiesDateLineWriter.State c : SkipPropertiesDateLineWriter.State.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SkipPropertiesDateLineWriter.State valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
shouldSkip
abstract boolean shouldSkip(java.lang.String content)
-
next
abstract SkipPropertiesDateLineWriter.State next()
-
-