Class Distribution
- java.lang.Object
-
- fr.gouv.vitam.common.model.processing.Distribution
-
public class Distribution extends java.lang.ObjectDistribution object in each step of workflow processing
-
-
Constructor Summary
Constructors Constructor Description Distribution()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.IntegergetBulkSize()java.lang.StringgetElement()getElement(), return the element of DistributionDistributionKindgetKind()getKind(), get the object kindStatusCodegetStatusOnEmptyDistribution()Get the status to be used in the logbook if no distribution occurredDistributionTypegetType()get the type of the distributionDistributionsetBulkSize(java.lang.Integer bulkSize)DistributionsetElement(java.lang.String element)setElement, set the value of elementDistributionsetKind(DistributionKind kind)setKind, set the kind of Distribution objectDistributionsetStatusOnEmptyDistribution(StatusCode statusOnEmptyDistribution)Set the status to be used in the logbook if no distribution occurredDistributionsetType(DistributionType type)set the type of the distribution
-
-
-
Method Detail
-
getKind
public DistributionKind getKind()
getKind(), get the object kind- Returns:
- the reference of DistributionKind
-
setKind
public Distribution setKind(DistributionKind kind)
setKind, set the kind of Distribution object- Parameters:
kind- of DistributionKind- Returns:
- Distribution object with kind setted
-
getElement
public java.lang.String getElement()
getElement(), return the element of Distribution- Returns:
- the element as String
-
setElement
public Distribution setElement(java.lang.String element)
setElement, set the value of element- Parameters:
element- as String- Returns:
- Distribution instance with element setted
-
getType
public DistributionType getType()
get the type of the distribution- Returns:
- Distribution instance with element setted
-
setType
public Distribution setType(DistributionType type)
set the type of the distribution- Parameters:
type- the type of the distribution- Returns:
- Distribution instance with element setted
-
getStatusOnEmptyDistribution
public StatusCode getStatusOnEmptyDistribution()
Get the status to be used in the logbook if no distribution occurred- Returns:
- StatusCode
-
setStatusOnEmptyDistribution
public Distribution setStatusOnEmptyDistribution(StatusCode statusOnEmptyDistribution)
Set the status to be used in the logbook if no distribution occurred- Parameters:
statusOnEmptyDistribution-- Returns:
- Distribution instance with element setted
-
getBulkSize
public java.lang.Integer getBulkSize()
- Returns:
- bulkSize
-
setBulkSize
public Distribution setBulkSize(java.lang.Integer bulkSize)
- Parameters:
bulkSize- bulkSize- Returns:
- the distribution
-
-