public static class ValidationUtils.TaskResult extends Object implements Serializable
Constructor and Description |
---|
TaskResult()
Creates a new
ValidationUtils.TaskResult . |
TaskResult(ValidationUtils.State state,
String name,
String output,
String advice)
Creates a new
ValidationUtils.TaskResult . |
TaskResult(ValidationUtils.State state,
String name,
String desc,
String output,
String advice)
Creates a new
ValidationUtils.TaskResult . |
Modifier and Type | Method and Description |
---|---|
String |
getAdvice() |
String |
getDesc() |
String |
getName() |
String |
getResult() |
ValidationUtils.State |
getState() |
ValidationUtils.TaskResult |
setAdvice(String advice)
Sets task advice.
|
ValidationUtils.TaskResult |
setDesc(String desc)
Sets task name.
|
ValidationUtils.TaskResult |
setName(String name)
Sets task name.
|
ValidationUtils.TaskResult |
setOutput(String output)
Sets task output.
|
ValidationUtils.TaskResult |
setState(ValidationUtils.State state)
Sets task state.
|
String |
toString() |
public TaskResult(ValidationUtils.State state, String name, String output, String advice)
ValidationUtils.TaskResult
.state
- task statename
- task nameoutput
- task outputadvice
- task advicepublic TaskResult(ValidationUtils.State state, String name, String desc, String output, String advice)
ValidationUtils.TaskResult
.state
- task statename
- task namedesc
- task descriptionoutput
- task outputadvice
- task advicepublic TaskResult()
ValidationUtils.TaskResult
.public ValidationUtils.TaskResult setState(ValidationUtils.State state)
state
- state to setpublic ValidationUtils.TaskResult setName(String name)
name
- name to setpublic ValidationUtils.TaskResult setDesc(String desc)
desc
- description to setpublic ValidationUtils.TaskResult setOutput(String output)
output
- output to setpublic ValidationUtils.TaskResult setAdvice(String advice)
advice
- advice to setpublic ValidationUtils.State getState()
public String getName()
public String getDesc()
public String getResult()
public String getAdvice()
Copyright © 2023. All Rights Reserved.