Enum SnapshotOutputFormatter
- java.lang.Object
-
- java.lang.Enum<SnapshotOutputFormatter>
-
- com.github.tomakehurst.wiremock.recording.SnapshotOutputFormatter
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<SnapshotOutputFormatter>
public enum SnapshotOutputFormatter extends java.lang.Enum<SnapshotOutputFormatter>
Wraps a list of generated StubMappings into a SnapshotRecordResult object
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description abstract SnapshotRecordResultformat(java.util.List<StubMapping> stubMappings)Deprecated, for removal: This API element is subject to removal in a future version.This method will become non-public in the next major version.static SnapshotOutputFormatterfromString(java.lang.String value)static SnapshotOutputFormattervalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static SnapshotOutputFormatter[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FULL
public static final SnapshotOutputFormatter FULL
-
IDS
public static final SnapshotOutputFormatter IDS
-
-
Method Detail
-
values
public static SnapshotOutputFormatter[] 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 (SnapshotOutputFormatter c : SnapshotOutputFormatter.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SnapshotOutputFormatter 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
-
format
@Deprecated(forRemoval=true) public abstract SnapshotRecordResult format(java.util.List<StubMapping> stubMappings)
Deprecated, for removal: This API element is subject to removal in a future version.This method will become non-public in the next major version. If you rely on it, please contact the maintainers.
-
fromString
public static SnapshotOutputFormatter fromString(java.lang.String value)
-
-