public static final class InputSelection.Builder extends Object
InputSelection
.Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
InputSelection |
build() |
InputSelection |
build(int inputCount)
Build normalized mask, if all inputs were manually selected, inputMask will be normalized
to -1.
|
static InputSelection.Builder |
from(InputSelection selection)
Returns a
Builder that uses the input mask of the specified selection as
the initial mask. |
InputSelection.Builder |
select(int inputId)
Selects an input identified by the given
inputId . |
public static InputSelection.Builder from(InputSelection selection)
Builder
that uses the input mask of the specified selection
as
the initial mask.public InputSelection.Builder select(int inputId)
inputId
.inputId
- the input id numbered starting from 1 to 64, and `1` indicates the first
input. Specially, `-1` indicates all inputs.public InputSelection build(int inputCount)
public InputSelection build()
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.