Class Distribution


  • public class Distribution
    extends java.lang.Object
    Distribution object in each step of workflow processing
    • Constructor Detail

      • Distribution

        public 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