Class Distribution
- java.lang.Object
-
- fr.gouv.vitam.common.model.processing.Distribution
-
public class Distribution extends java.lang.Object
Distribution 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.Integer
getBulkSize()
java.lang.String
getElement()
getElement(), return the element of DistributionDistributionKind
getKind()
getKind(), get the object kindStatusCode
getStatusOnEmptyDistribution()
Get the status to be used in the logbook if no distribution occurredDistributionType
getType()
get the type of the distributionDistribution
setBulkSize(java.lang.Integer bulkSize)
Distribution
setElement(java.lang.String element)
setElement, set the value of elementDistribution
setKind(DistributionKind kind)
setKind, set the kind of Distribution objectDistribution
setStatusOnEmptyDistribution(StatusCode statusOnEmptyDistribution)
Set the status to be used in the logbook if no distribution occurredDistribution
setType(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
-
-