public interface ScrewdriverProgramList
This interface represents the list of programs, typically defined on an external control box for the screwdriver.
Use the interface to provide the list of screw driver programs to PolyScope.Modifier and Type | Method and Description |
---|---|
void |
add(ScrewdriverProgram screwdriverProgram)
Add a screwdriver program to the list of programs.
|
void |
addAll(List<ScrewdriverProgram> screwdriverProgramList)
Add a list of screwdriver programs to the list of programs.
|
void add(ScrewdriverProgram screwdriverProgram)
screwdriverProgram
- program to add, not null
DuplicateScrewdriverProgramID
- if the ids of the screwdriver programs (returned by the method
ScrewdriverProgram.getId()
) are not unique.NameOfScrewdriverProgramCannotBeNullOrEmpty
- if the display name of a program (returned by the method
ScrewdriverProgram.getDisplayName()
) is null
or
an empty string.void addAll(List<ScrewdriverProgram> screwdriverProgramList)
screwdriverProgramList
- list of programs to add, not null
DuplicateScrewdriverProgramID
- if the ids of the screwdriver programs (returned by the method
ScrewdriverProgram.getId()
) are not unique.NameOfScrewdriverProgramCannotBeNullOrEmpty
- if the display name of a program (returned by the method
ScrewdriverProgram.getDisplayName()
) is null
or
an empty string.Copyright © 2021. All rights reserved.