Package com.indeed.proctor.common
Class UrlProctorLoader
- java.lang.Object
-
- java.util.TimerTask
-
- com.indeed.util.core.DataLoadingTimerTask
-
- com.indeed.proctor.common.AbstractProctorLoader
-
- com.indeed.proctor.common.AbstractJsonProctorLoader
-
- com.indeed.proctor.common.UrlProctorLoader
-
- All Implemented Interfaces:
com.google.common.base.Supplier<Proctor>,com.indeed.util.core.HasDataLoadingVariables,java.lang.Runnable
public class UrlProctorLoader extends AbstractJsonProctorLoader
Support class for loading a test matrix artifact from a URL-based JSON file
-
-
Field Summary
-
Fields inherited from class com.indeed.proctor.common.AbstractProctorLoader
dynamicFilters, requiredTests, VAR_EXPORTER
-
-
Constructor Summary
Constructors Constructor Description UrlProctorLoader(ProctorSpecification specification, java.lang.String inputUrl)UrlProctorLoader(ProctorSpecification specification, java.lang.String inputUrl, javax.el.FunctionMapper functionMapper)UrlProctorLoader(ProctorSpecification specification, java.net.URL inputUrl)UrlProctorLoader(ProctorSpecification specification, java.net.URL inputUrl, javax.el.FunctionMapper functionMapper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.StringgetSource()protected TestMatrixArtifactloadTestMatrix()-
Methods inherited from class com.indeed.proctor.common.AbstractJsonProctorLoader
extractReferencedTests, isTestReferenced, loadJsonTestMatrix
-
Methods inherited from class com.indeed.proctor.common.AbstractProctorLoader
addLoadReporter, addLoadReporter, createProvidedContext, doLoad, exportDynamicTests, get, getLastAudit, getLastLoadErrorMessage, getLoggedDynamicTests, getProctorResultReporter, getRuleVerificationContext, isLoadedDataSuccessfullyRecently, load, logDynamicTests, setDiffReporter
-
-
-
-
Constructor Detail
-
UrlProctorLoader
public UrlProctorLoader(@Nonnull ProctorSpecification specification, @Nonnull java.lang.String inputUrl) throws java.net.MalformedURLException- Throws:
java.net.MalformedURLException
-
UrlProctorLoader
public UrlProctorLoader(@Nonnull ProctorSpecification specification, @Nonnull java.lang.String inputUrl, javax.el.FunctionMapper functionMapper) throws java.net.MalformedURLException- Throws:
java.net.MalformedURLException
-
UrlProctorLoader
public UrlProctorLoader(@Nonnull ProctorSpecification specification, @Nonnull java.net.URL inputUrl)
-
UrlProctorLoader
public UrlProctorLoader(@Nonnull ProctorSpecification specification, @Nonnull java.net.URL inputUrl, javax.el.FunctionMapper functionMapper)
-
-
Method Detail
-
getSource
@Nonnull protected java.lang.String getSource()
-
loadTestMatrix
@CheckForNull protected TestMatrixArtifact loadTestMatrix() throws java.io.IOException, TestMatrixOutdatedException
- Throws:
java.io.IOExceptionTestMatrixOutdatedException
-
-