public class DefinitionProviderProblemBuilder extends Object
DefinitionProvider.Problem
. It is not possible to instantiate this builder directly, but
Problem
provides convenience static methods for that.Modifier and Type | Method and Description |
---|---|
DefinitionProvider.Problem |
build() |
DefinitionProviderProblemBuilder |
withDetails(String details) |
DefinitionProviderProblemBuilder |
withLocation(String location) |
DefinitionProviderProblemBuilder |
withRelatedException(Exception relatedException) |
DefinitionProviderProblemBuilder |
withSeverityType(DefinitionProvider.Problem.SeverityType severityType) |
DefinitionProviderProblemBuilder |
withTitle(String title) |
DefinitionProviderProblemBuilder |
withType(DefinitionProvider.Problem.Type type) |
public DefinitionProviderProblemBuilder withSeverityType(DefinitionProvider.Problem.SeverityType severityType)
public DefinitionProviderProblemBuilder withType(DefinitionProvider.Problem.Type type)
public DefinitionProviderProblemBuilder withTitle(String title)
public DefinitionProviderProblemBuilder withDetails(String details)
public DefinitionProviderProblemBuilder withRelatedException(Exception relatedException)
public DefinitionProviderProblemBuilder withLocation(String location)
public DefinitionProvider.Problem build()
Copyright © 2003–2016 Magnolia International Ltd.. All rights reserved.