public class FormatterTestRequest extends Object
| Constructor and Description |
|---|
FormatterTestRequest() |
| Modifier and Type | Method and Description |
|---|---|
CharSequence |
getExpectation() |
CharSequence |
getExpectationOrToBeFormatted() |
MapBasedPreferenceValues |
getOrCreateMapBasedPreferences() |
FormatterRequest |
getRequest() |
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(CharSequence expectation) |
FormatterTestRequest |
setRequest(FormatterRequest request) |
FormatterTestRequest |
setToBeFormatted(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 CharSequence getExpectation()
public CharSequence getExpectationOrToBeFormatted()
public MapBasedPreferenceValues getOrCreateMapBasedPreferences()
public FormatterRequest getRequest()
public CharSequence getToBeFormatted()
public boolean isAllowSyntaxErrors()
public FormatterTestRequest preferences(Procedures.Procedure1<MapBasedPreferenceValues> preferences)
public FormatterTestRequest setAllowSyntaxErrors(boolean allowSyntaxErrors)
public FormatterTestRequest setExpectation(CharSequence expectation)
@Inject public FormatterTestRequest setRequest(FormatterRequest request)
public FormatterTestRequest setToBeFormatted(CharSequence toBeFormatted)
Copyright © 2016. All Rights Reserved.