de.gofabian.jfixture.FixtureDefinition Maven / Gradle / Ivy
The newest version!
package de.gofabian.jfixture;
import java.util.List;
public abstract class FixtureDefinition {
private final Scope scope;
private final Class> type;
private final List> dependencyTypes;
private final boolean autoUse;
protected FixtureDefinition(Scope scope, Class> type, List> dependencyTypes, boolean autoUse) {
this.scope = scope;
this.type = type;
this.dependencyTypes = dependencyTypes;
this.autoUse = autoUse;
}
public Scope getScope() {
return scope;
}
public Class> getType() {
return type;
}
public List> getDependencyTypes() {
return dependencyTypes;
}
public boolean isAutoUse() {
return autoUse;
}
public abstract Object setUp(List