Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

file 25 lines (19 sloc) 0.71 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
//
// EventFilter.h
// Travis CI
//
// Created by Henrik Hodne on 12/1/12.
// Copyright (c) 2012 Travis CI GmbH. All rights reserved.
//

#import <Foundation/Foundation.h>

@class RACSignal;
@class FilterPreferences;

@interface EventFilter : NSObject

// A stream of filtered `TravisEvent`.
@property (nonatomic, strong, readonly) RACSignal *outputStream;

// Creates a new event filter.
//
// inputStream - A stream of `TravisEvent` objects to filter.
// filterPreferences - A `FilterPreferences` object describing how to filter the incoming `TravisEvent` objects.
+ (EventFilter *)eventFilterWithInputStream:(RACSignal *)inputStream filterPreferences:(FilterPreferences *)filterPreferences;

@end
Something went wrong with that request. Please try again.