Package com.indeed.proctor.common
Class JsonProctorLoaderFactory
- java.lang.Object
-
- com.indeed.proctor.common.JsonProctorLoaderFactory
-
public class JsonProctorLoaderFactory extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ProctorSpecification_specificationprotected java.lang.StringclassResourcePathprotected java.lang.StringfilePathprotected javax.el.FunctionMapperfunctionMapperprotected java.util.List<ProctorLoadReporter>reportersprotected static com.indeed.util.varexport.VarExporterVAR_EXPORTER
-
Constructor Summary
Constructors Constructor Description JsonProctorLoaderFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description AbstractJsonProctorLoadergetLoader()voidsetClassResourcePath(java.lang.String classResourcePath)voidsetDiffReporter(AbstractProctorDiffReporter diffReporter)Deprecated.voidsetFilePath(java.lang.String filePath)voidsetFunctionMapper(javax.el.FunctionMapper functionMapper)voidsetLoadReporters(java.util.List<ProctorLoadReporter> reporters)voidsetSpecification(ProctorSpecification specification)setSpecificationResource() is likely more convenient to use instead of this method.voidsetSpecificationResource(java.lang.String specificationLocation)voidsetSpecificationResource(org.springframework.core.io.Resource specificationResource)
-
-
-
Field Detail
-
VAR_EXPORTER
protected static final com.indeed.util.varexport.VarExporter VAR_EXPORTER
-
classResourcePath
@Nullable protected java.lang.String classResourcePath
-
filePath
@Nullable protected java.lang.String filePath
-
_specification
@Nullable protected ProctorSpecification _specification
-
functionMapper
protected javax.el.FunctionMapper functionMapper
-
reporters
protected java.util.List<ProctorLoadReporter> reporters
-
-
Method Detail
-
setClassResourcePath
public void setClassResourcePath(@Nullable java.lang.String classResourcePath)
-
setFilePath
public void setFilePath(@Nullable java.lang.String filePath)
-
setSpecificationResource
public void setSpecificationResource(@Nonnull org.springframework.core.io.Resource specificationResource)
-
setSpecificationResource
public void setSpecificationResource(@Nonnull java.lang.String specificationLocation)
-
setSpecification
public void setSpecification(@Nonnull ProctorSpecification specification)setSpecificationResource() is likely more convenient to use instead of this method.
-
setFunctionMapper
public void setFunctionMapper(@Nonnull javax.el.FunctionMapper functionMapper)
-
getLoader
@Nonnull public AbstractJsonProctorLoader getLoader()
-
setDiffReporter
@Deprecated public void setDiffReporter(AbstractProctorDiffReporter diffReporter)
Deprecated.- Parameters:
diffReporter- a reporter to report changes of new proctor
-
setLoadReporters
public void setLoadReporters(java.util.List<ProctorLoadReporter> reporters)
-
-