Class ProbativeCheck
- java.lang.Object
-
- fr.gouv.vitam.worker.core.plugin.probativevalue.pojo.ProbativeCheck
-
public class ProbativeCheck extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ProbativeCheck(java.lang.String name, java.lang.String details, ChecksInformation.ChecksType type, ChecksInformation.ChecksSourceDestination source, ChecksInformation.ChecksSourceDestination destination, java.lang.String sourceComparable, java.lang.String destinationComparable, ChecksInformation.ChecksAction action, ChecksInformation.CheckedItem item, StatusCode status)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ProbativeCheck
from(ChecksInformation information, java.lang.String source, java.lang.String destination, StatusCode status)
ChecksInformation.ChecksAction
getAction()
ChecksInformation.ChecksSourceDestination
getDestination()
java.lang.String
getDestinationComparable()
java.lang.String
getDetails()
ChecksInformation.CheckedItem
getItem()
java.lang.String
getName()
ChecksInformation.ChecksSourceDestination
getSource()
java.lang.String
getSourceComparable()
StatusCode
getStatus()
ChecksInformation.ChecksType
getType()
static ProbativeCheck
koFrom(ChecksInformation information, java.lang.String source, java.lang.String destination)
static ProbativeCheck
okFrom(ChecksInformation information, java.lang.String source, java.lang.String destination)
static ProbativeCheck
warnFrom(ChecksInformation information, java.lang.String source, java.lang.String destination)
-
-
-
Constructor Detail
-
ProbativeCheck
public ProbativeCheck(java.lang.String name, java.lang.String details, ChecksInformation.ChecksType type, ChecksInformation.ChecksSourceDestination source, ChecksInformation.ChecksSourceDestination destination, java.lang.String sourceComparable, java.lang.String destinationComparable, ChecksInformation.ChecksAction action, ChecksInformation.CheckedItem item, StatusCode status)
-
-
Method Detail
-
from
public static ProbativeCheck from(ChecksInformation information, java.lang.String source, java.lang.String destination, StatusCode status)
-
okFrom
public static ProbativeCheck okFrom(ChecksInformation information, java.lang.String source, java.lang.String destination)
-
koFrom
public static ProbativeCheck koFrom(ChecksInformation information, java.lang.String source, java.lang.String destination)
-
warnFrom
public static ProbativeCheck warnFrom(ChecksInformation information, java.lang.String source, java.lang.String destination)
-
getName
public java.lang.String getName()
-
getDetails
public java.lang.String getDetails()
-
getType
public ChecksInformation.ChecksType getType()
-
getSource
public ChecksInformation.ChecksSourceDestination getSource()
-
getDestination
public ChecksInformation.ChecksSourceDestination getDestination()
-
getSourceComparable
public java.lang.String getSourceComparable()
-
getDestinationComparable
public java.lang.String getDestinationComparable()
-
getAction
public ChecksInformation.ChecksAction getAction()
-
getItem
public ChecksInformation.CheckedItem getItem()
-
getStatus
public StatusCode getStatus()
-
-