Class RunQueryFilter


  • public final class RunQueryFilter
    extends Object
    Query filter option for listing runs.
    • Constructor Detail

      • RunQueryFilter

        public RunQueryFilter()
    • Method Detail

      • operand

        public RunQueryFilterOperand operand()
        Get the operand property: Parameter name to be used for filter. The allowed operands to query pipeline runs are PipelineName, RunStart, RunEnd and Status; to query activity runs are ActivityName, ActivityRunStart, ActivityRunEnd, ActivityType and Status, and to query trigger runs are TriggerName, TriggerRunTimestamp and Status.
        Returns:
        the operand value.
      • withOperand

        public RunQueryFilter withOperand​(RunQueryFilterOperand operand)
        Set the operand property: Parameter name to be used for filter. The allowed operands to query pipeline runs are PipelineName, RunStart, RunEnd and Status; to query activity runs are ActivityName, ActivityRunStart, ActivityRunEnd, ActivityType and Status, and to query trigger runs are TriggerName, TriggerRunTimestamp and Status.
        Parameters:
        operand - the operand value to set.
        Returns:
        the RunQueryFilter object itself.
      • operator

        public RunQueryFilterOperator operator()
        Get the operator property: Operator to be used for filter.
        Returns:
        the operator value.
      • withOperator

        public RunQueryFilter withOperator​(RunQueryFilterOperator operator)
        Set the operator property: Operator to be used for filter.
        Parameters:
        operator - the operator value to set.
        Returns:
        the RunQueryFilter object itself.
      • values

        public List<String> values()
        Get the values property: List of filter values.
        Returns:
        the values value.
      • withValues

        public RunQueryFilter withValues​(List<String> values)
        Set the values property: List of filter values.
        Parameters:
        values - the values value to set.
        Returns:
        the RunQueryFilter object itself.
      • validate

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