|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecteu.planets_project.services.validate.ValidateResult.Builder
public static final class ValidateResult.Builder
Builder for ValidateResult instances.
| Constructor Summary | |
|---|---|
ValidateResult.Builder(java.net.URI thisFormat,
ServiceReport report)
|
|
ValidateResult.Builder(ValidateResult validateResult)
|
|
| Method Summary | |
|---|---|
ValidateResult.Builder |
addError(int linenumber,
java.lang.String error)
Adds a error for a specified line number in the file. |
ValidateResult.Builder |
addError(java.lang.String error)
Adds a error for line number -1, ie. |
ValidateResult.Builder |
addWarning(int linenumber,
java.lang.String warning)
Adds a warning for a specified line number in the file. |
ValidateResult.Builder |
addWarning(java.lang.String warning)
Adds a warning for line number -1, ie. |
ValidateResult |
build()
|
ValidateResult.Builder |
ofThisFormat(boolean ofThisFormat)
|
ValidateResult.Builder |
properties(java.util.List<Property> properties)
|
ValidateResult.Builder |
report(ServiceReport report)
|
ValidateResult.Builder |
thisFormat(java.net.URI thisFormat)
|
ValidateResult.Builder |
validInRegardToThisFormat(boolean validInRegardToThisFormat)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ValidateResult.Builder(ValidateResult validateResult)
validateResult - The instance to create a new instance from
public ValidateResult.Builder(java.net.URI thisFormat,
ServiceReport report)
thisFormat - The identification result formatreport - The identification report| Method Detail |
|---|
public ValidateResult build()
public ValidateResult.Builder ofThisFormat(boolean ofThisFormat)
ofThisFormat - See #ofThisFormat
public ValidateResult.Builder validInRegardToThisFormat(boolean validInRegardToThisFormat)
validInRegardToThisFormat - See #validInRegardToThisFormat
public ValidateResult.Builder thisFormat(java.net.URI thisFormat)
thisFormat - See #thisFormat
public ValidateResult.Builder report(ServiceReport report)
report - See #report
public ValidateResult.Builder properties(java.util.List<Property> properties)
properties - See #properties
public ValidateResult.Builder addWarning(int linenumber,
java.lang.String warning)
linenumber - The offending linewarning - The warning description
warningspublic ValidateResult.Builder addWarning(java.lang.String warning)
warning - the description of the warning
warnings
public ValidateResult.Builder addError(int linenumber,
java.lang.String error)
linenumber - the offending lineerror - The error description
errors,
ofThisFormat,
validInRegardToThisFormatpublic ValidateResult.Builder addError(java.lang.String error)
error - the description of the error
addError(int, String)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||