public class ValidationTaskResult extends Object implements Serializable
Constructor and Description |
---|
ValidationTaskResult()
Creates a new
ValidationTaskResult . |
ValidationTaskResult(ValidationUtils.State state,
String name,
String output,
String advice)
Creates a new
ValidationTaskResult . |
ValidationTaskResult(ValidationUtils.State state,
String name,
String desc,
String output,
String advice)
Creates a new
ValidationTaskResult . |
Modifier and Type | Method and Description |
---|---|
String |
getAdvice() |
String |
getDesc() |
String |
getName() |
String |
getResult() |
ValidationUtils.State |
getState() |
ValidationTaskResult |
setAdvice(String advice)
Sets task advice.
|
ValidationTaskResult |
setDesc(String desc)
Sets task name.
|
ValidationTaskResult |
setName(String name)
Sets task name.
|
ValidationTaskResult |
setOutput(String output)
Sets task output.
|
ValidationTaskResult |
setState(ValidationUtils.State state)
Sets task state.
|
String |
toString() |
public ValidationTaskResult(ValidationUtils.State state, String name, String output, String advice)
ValidationTaskResult
.state
- task statename
- task nameoutput
- task outputadvice
- task advicepublic ValidationTaskResult(ValidationUtils.State state, String name, String desc, String output, String advice)
ValidationTaskResult
.state
- task statename
- task namedesc
- task descriptionoutput
- task outputadvice
- task advicepublic ValidationTaskResult()
ValidationTaskResult
.public ValidationTaskResult setState(ValidationUtils.State state)
state
- state to setpublic ValidationTaskResult setName(String name)
name
- name to setpublic ValidationTaskResult setDesc(String desc)
desc
- description to setpublic ValidationTaskResult setOutput(String output)
output
- output to setpublic ValidationTaskResult 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.