public class FormatterTestRequest
extends java.lang.Object
Constructor and Description |
---|
FormatterTestRequest() |
Modifier and Type | Method and Description |
---|---|
java.lang.CharSequence |
getExpectation() |
java.lang.CharSequence |
getExpectationOrToBeFormatted() |
MapBasedPreferenceValues |
getOrCreateMapBasedPreferences() |
FormatterRequest |
getRequest() |
java.lang.CharSequence |
getToBeFormatted() |
boolean |
isAllowSyntaxErrors() |
boolean |
isAllowUnformattedWhitespace() |
boolean |
isUseNodeModel() |
boolean |
isUseSerializer() |
FormatterTestRequest |
preferences(Procedures.Procedure1<MapBasedPreferenceValues> preferences) |
FormatterTestRequest |
setAllowSyntaxErrors(boolean allowSyntaxErrors) |
FormatterTestRequest |
setAllowUnformattedWhitespace(boolean allowUnformattedWhitespace) |
FormatterTestRequest |
setExpectation(java.lang.CharSequence expectation) |
FormatterTestRequest |
setRequest(FormatterRequest request) |
FormatterTestRequest |
setToBeFormatted(java.lang.CharSequence toBeFormatted) |
FormatterTestRequest |
setUseNodeModel(boolean useNodeModel) |
FormatterTestRequest |
setUseSerializer(boolean useSerializer) |
public boolean isAllowUnformattedWhitespace()
public FormatterTestRequest setAllowUnformattedWhitespace(boolean allowUnformattedWhitespace)
public boolean isUseNodeModel()
public boolean isUseSerializer()
public FormatterTestRequest setUseNodeModel(boolean useNodeModel)
public FormatterTestRequest setUseSerializer(boolean useSerializer)
public java.lang.CharSequence getExpectation()
public java.lang.CharSequence getExpectationOrToBeFormatted()
public MapBasedPreferenceValues getOrCreateMapBasedPreferences()
public FormatterRequest getRequest()
public java.lang.CharSequence getToBeFormatted()
public boolean isAllowSyntaxErrors()
public FormatterTestRequest preferences(Procedures.Procedure1<MapBasedPreferenceValues> preferences)
public FormatterTestRequest setAllowSyntaxErrors(boolean allowSyntaxErrors)
public FormatterTestRequest setExpectation(java.lang.CharSequence expectation)
@Inject public FormatterTestRequest setRequest(FormatterRequest request)
public FormatterTestRequest setToBeFormatted(java.lang.CharSequence toBeFormatted)