public class InputTypesExpected extends Object
Constructor and Description |
---|
InputTypesExpected(Class<? extends InputFromManager> inputTypeClass)
Creates with the class of the input-type.
|
Modifier and Type | Method and Description |
---|---|
void |
add(Class<? extends InputFromManager> inputTypeClass)
Appends an input-type class to the existing list.
|
boolean |
doesClassInheritFromAny(Class<? extends InputFromManager> childClass)
Does the child-class inherit from any one of expected input-types?
|
String |
toString() |
public InputTypesExpected(Class<? extends InputFromManager> inputTypeClass)
inputTypeClass
- the class of the input-type.public boolean doesClassInheritFromAny(Class<? extends InputFromManager> childClass)
childClass
- the class to test if it inheritspublic void add(Class<? extends InputFromManager> inputTypeClass)
inputTypeClass
- the input-type class to append.Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.