Control Surface API  3.0.3
UsbConfigurationMatcher.java
1 package com.bitwig.extension.controller;
2 
3 public class UsbConfigurationMatcher extends UsbMatcher
4 {
5  public UsbConfigurationMatcher(final String expression, final int matchOccurrenceIndex, final UsbInterfaceMatcher... interfaceMatchers)
6  {
7  super(expression, matchOccurrenceIndex);
8  mInterfaceMatchers = interfaceMatchers;
9  }
10 
11  public UsbConfigurationMatcher(final String expression, final UsbInterfaceMatcher... interfaceMatchers)
12  {
13  this(expression, 1, interfaceMatchers);
14  }
15 
16  public UsbConfigurationMatcher(final int matchOccurrenceIndex, final UsbInterfaceMatcher... interfaceMatchers)
17  {
18  this("", matchOccurrenceIndex, interfaceMatchers);
19  }
20 
21  public UsbConfigurationMatcher(final UsbInterfaceMatcher... interfaceMatchers)
22  {
23  this(1, interfaceMatchers);
24  }
25 
26  public UsbInterfaceMatcher[] getInterfaceMatchers()
27  {
28  return mInterfaceMatchers;
29  }
30 
31  private final UsbInterfaceMatcher[] mInterfaceMatchers;
32 }