public static final class ParallelTypes.BackingSpec.Builder
extends java.lang.Object
ParallelTypes.BackingSpec
.Constructor and Description |
---|
Builder(ParallelTypes.BackingType type)
Constructor with parameters for the required properties of
ParallelTypes.BackingSpec . |
Modifier and Type | Method and Description |
---|---|
ParallelTypes.BackingSpec |
build() |
ParallelTypes.BackingSpec.Builder |
setFile(java.lang.String file)
Path of the file that should be used as the virtual parallel port backing.
|
ParallelTypes.BackingSpec.Builder |
setHostDevice(java.lang.String hostDevice)
Name of the device that should be used as the virtual parallel port backing.
|
public Builder(ParallelTypes.BackingType type)
ParallelTypes.BackingSpec
.public ParallelTypes.BackingSpec.Builder setFile(java.lang.String file)
getType()
is ParallelTypes.BackingType.FILE
.file
- New value for the property.public ParallelTypes.BackingSpec.Builder setHostDevice(java.lang.String hostDevice)
null
, the virtual parallel port will be configured to automatically
detect a suitable host device.hostDevice
- New value for the property.public ParallelTypes.BackingSpec build()