fr.vergne.pester.junit.DefinitionItem Maven / Gradle / Ivy
Show all versions of pester-core Show documentation
package fr.vergne.pester.junit;
import java.util.Optional;
import fr.vergne.pester.definition.ConstructorDefinition;
import fr.vergne.pester.definition.PojoDefinition;
import fr.vergne.pester.definition.PropertyDefinition;
class DefinitionItem {
private final Optional> pojo;
private final Optional> constructor;
private final Optional> property;
private final Optional> parentClass;
private final Optional> interfaceClass;
public DefinitionItem(Optional> pojo, Optional> constructor,
Optional> property, Optional> parentClass,
Optional> interfaceClass) {
this.pojo = pojo;
this.constructor = constructor;
this.property = property;
this.parentClass = parentClass;
this.interfaceClass = interfaceClass;
}
public Optional> getPojo() {
return pojo;
}
public Optional> getConstructor() {
return constructor;
}
public Optional> getProperty() {
return property;
}
public Optional> getParentClass() {
return parentClass;
}
public Optional> getInterfaceClass() {
return interfaceClass;
}
}