public static final class ParallelTypes.BackingSpec.Builder extends Object
ParallelTypes.BackingSpec
.Constructor and Description |
---|
ParallelTypes.BackingSpec.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(String file)
Path of the file that should be used as the virtual parallel port backing.
|
ParallelTypes.BackingSpec.Builder |
setHostDevice(String hostDevice)
Name of the device that should be used as the virtual parallel port backing.
|
public ParallelTypes.BackingSpec.Builder(ParallelTypes.BackingType type)
ParallelTypes.BackingSpec
.public ParallelTypes.BackingSpec.Builder setFile(String file)
getType()
is ParallelTypes.BackingType.FILE
.file
- New value for the property.public ParallelTypes.BackingSpec.Builder setHostDevice(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()
Copyright © 2016. All Rights Reserved.