Package org.jesterj.ingest.processors
Class FetchUrl.Builder
- java.lang.Object
-
- org.jesterj.ingest.model.impl.NamedBuilder<FetchUrl>
-
- org.jesterj.ingest.processors.FetchUrl.Builder
-
- All Implemented Interfaces:
Buildable<FetchUrl>,ConfiguredBuildable<FetchUrl>
- Enclosing class:
- FetchUrl
public static class FetchUrl.Builder extends NamedBuilder<FetchUrl>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FetchUrlbuild()FetchUrl.BuilderfailDocOnError(boolean fail)FetchUrl.BuilderfromLinkIn(java.lang.String from)protected FetchUrlgetObj()FetchUrl.Buildernamed(java.lang.String name)FetchUrl.BuilderreportErrorsIn(java.lang.String errorField)FetchUrl.BuilderreportHttpStatusIn(java.lang.String statusField)FetchUrl.BuildersameSiteAccessOncePer(long miliseconds)FetchUrl.BuilderwithConnectionTimeOut(int timeOut)FetchUrl.BuilderwithReadTimeOut(int timeOut)FetchUrl.BuilderwithSiteCachSize(long numSites)-
Methods inherited from class org.jesterj.ingest.model.impl.NamedBuilder
isValid
-
-
-
-
Method Detail
-
named
public FetchUrl.Builder named(java.lang.String name)
- Specified by:
namedin classNamedBuilder<FetchUrl>
-
getObj
protected FetchUrl getObj()
- Overrides:
getObjin classNamedBuilder<FetchUrl>
-
fromLinkIn
public FetchUrl.Builder fromLinkIn(java.lang.String from)
-
reportErrorsIn
public FetchUrl.Builder reportErrorsIn(java.lang.String errorField)
-
reportHttpStatusIn
public FetchUrl.Builder reportHttpStatusIn(java.lang.String statusField)
-
sameSiteAccessOncePer
public FetchUrl.Builder sameSiteAccessOncePer(long miliseconds)
-
withSiteCachSize
public FetchUrl.Builder withSiteCachSize(long numSites)
-
failDocOnError
public FetchUrl.Builder failDocOnError(boolean fail)
-
withConnectionTimeOut
public FetchUrl.Builder withConnectionTimeOut(int timeOut)
-
withReadTimeOut
public FetchUrl.Builder withReadTimeOut(int timeOut)
-
build
public FetchUrl build()
-
-