Class MediaJobOutput

    • Constructor Detail

      • MediaJobOutput

        public MediaJobOutput​(long progress,
                              MediaJobState state)
        Creates an instance of MediaJobOutput class.
        Parameters:
        progress - gets the Job output progress.
        state - gets the Job output state. Possible values include: 'Canceled', 'Canceling', 'Error', 'Finished', 'Processing', 'Queued', 'Scheduled'.
      • MediaJobOutput

        protected MediaJobOutput()
        Private constructor for deserialization.
    • Method Detail

      • error

        public MediaJobError error()
        Get gets the Job output error.
        Returns:
        the error value
      • withError

        public MediaJobOutput withError​(MediaJobError error)
        Set gets the Job output error.
        Parameters:
        error - the error value to set
        Returns:
        the MediaJobOutput object itself.
      • label

        public String label()
        Get gets the Job output label.
        Returns:
        the label value
      • withLabel

        public MediaJobOutput withLabel​(String label)
        Set gets the Job output label.
        Parameters:
        label - the label value to set
        Returns:
        the MediaJobOutput object itself.
      • progress

        public long progress()
        Get gets the Job output progress.
        Returns:
        the progress value
      • state

        public MediaJobState state()
        Get gets the Job output state. Possible values include: 'Canceled', 'Canceling', 'Error', 'Finished', 'Processing', 'Queued', 'Scheduled'.
        Returns:
        the state value