Class Distribution
java.lang.Object
fr.gouv.vitam.common.model.processing.Distribution
Distribution object in each step of workflow processing
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetElement(), return the element of DistributiongetKind()
getKind(), get the object kindGet the status to be used in the logbook if no distribution occurredgetType()
get the type of the distributionsetBulkSize
(Integer bulkSize) setElement
(String element) setElement, set the value of elementsetKind
(DistributionKind kind) setKind, set the kind of Distribution objectsetStatusOnEmptyDistribution
(StatusCode statusOnEmptyDistribution) Set the status to be used in the logbook if no distribution occurredsetType
(DistributionType type) set the type of the distribution
-
Constructor Details
-
Distribution
public Distribution()
-
-
Method Details
-
getKind
getKind(), get the object kind- Returns:
- the reference of DistributionKind
-
setKind
setKind, set the kind of Distribution object- Parameters:
kind
- of DistributionKind- Returns:
- Distribution object with kind setted
-
getElement
getElement(), return the element of Distribution- Returns:
- the element as String
-
setElement
setElement, set the value of element- Parameters:
element
- as String- Returns:
- Distribution instance with element setted
-
getType
get the type of the distribution- Returns:
- Distribution instance with element setted
-
setType
set the type of the distribution- Parameters:
type
- the type of the distribution- Returns:
- Distribution instance with element setted
-
getStatusOnEmptyDistribution
Get the status to be used in the logbook if no distribution occurred- Returns:
- StatusCode
-
setStatusOnEmptyDistribution
Set the status to be used in the logbook if no distribution occurred- Parameters:
statusOnEmptyDistribution
-- Returns:
- Distribution instance with element setted
-
getBulkSize
- Returns:
- bulkSize
-
setBulkSize
- Parameters:
bulkSize
- bulkSize- Returns:
- the distribution
-