Class PipelinePolicy


  • public final class PipelinePolicy
    extends Object
    Pipeline Policy.
    • Constructor Detail

      • PipelinePolicy

        public PipelinePolicy()
    • Method Detail

      • elapsedTimeMetric

        public PipelineElapsedTimeMetricPolicy elapsedTimeMetric()
        Get the elapsedTimeMetric property: Pipeline ElapsedTime Metric Policy.
        Returns:
        the elapsedTimeMetric value.
      • withElapsedTimeMetric

        public PipelinePolicy withElapsedTimeMetric​(PipelineElapsedTimeMetricPolicy elapsedTimeMetric)
        Set the elapsedTimeMetric property: Pipeline ElapsedTime Metric Policy.
        Parameters:
        elapsedTimeMetric - the elapsedTimeMetric value to set.
        Returns:
        the PipelinePolicy object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.