Package org.nuiton.eugene.writer
Enum DefaultChainedWriterEngine.ModelFileWriterEntryType
- java.lang.Object
-
- java.lang.Enum<DefaultChainedWriterEngine.ModelFileWriterEntryType>
-
- org.nuiton.eugene.writer.DefaultChainedWriterEngine.ModelFileWriterEntryType
-
- All Implemented Interfaces:
Serializable,Comparable<DefaultChainedWriterEngine.ModelFileWriterEntryType>
- Enclosing class:
- DefaultChainedWriterEngine
public static enum DefaultChainedWriterEngine.ModelFileWriterEntryType extends Enum<DefaultChainedWriterEngine.ModelFileWriterEntryType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FULL_PATTERNFULL_PATTERN_WITH_CLASSPATHNO_PROTOCOL_PATTERNNO_PROTOCOL_PATTERN_WITH_CLASSPATHONLY_PROTOCOL_PATTERN
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description MatchergetMatcher(String include)PatterngetPattern()abstract ChainedFileWritergetWriter(DefaultChainedWriterEngine engine, String include, Matcher matcher)abstract ChainedFileWriterEntrynewEntry(DefaultChainedWriterEngine engine, String include, Matcher matcher, ChainedFileWriter writer)static DefaultChainedWriterEngine.ModelFileWriterEntryTypevalueOf(String name)Returns the enum constant of this type with the specified name.static DefaultChainedWriterEngine.ModelFileWriterEntryType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ONLY_PROTOCOL_PATTERN
public static final DefaultChainedWriterEngine.ModelFileWriterEntryType ONLY_PROTOCOL_PATTERN
-
NO_PROTOCOL_PATTERN_WITH_CLASSPATH
public static final DefaultChainedWriterEngine.ModelFileWriterEntryType NO_PROTOCOL_PATTERN_WITH_CLASSPATH
-
NO_PROTOCOL_PATTERN
public static final DefaultChainedWriterEngine.ModelFileWriterEntryType NO_PROTOCOL_PATTERN
-
FULL_PATTERN_WITH_CLASSPATH
public static final DefaultChainedWriterEngine.ModelFileWriterEntryType FULL_PATTERN_WITH_CLASSPATH
-
FULL_PATTERN
public static final DefaultChainedWriterEngine.ModelFileWriterEntryType FULL_PATTERN
-
-
Method Detail
-
values
public static DefaultChainedWriterEngine.ModelFileWriterEntryType[] 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 (DefaultChainedWriterEngine.ModelFileWriterEntryType c : DefaultChainedWriterEngine.ModelFileWriterEntryType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DefaultChainedWriterEngine.ModelFileWriterEntryType 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
-
getPattern
public Pattern getPattern()
-
newEntry
public abstract ChainedFileWriterEntry newEntry(DefaultChainedWriterEngine engine, String include, Matcher matcher, ChainedFileWriter writer)
-
getWriter
public abstract ChainedFileWriter getWriter(DefaultChainedWriterEngine engine, String include, Matcher matcher)
-
-