public interface ITargetHostsBuilder
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
setTargetHostsFromCmsQueryUrl(java.lang.String cmsQueryUrl)
Sets the target hosts from cms query url.
|
java.util.List<java.lang.String> |
setTargetHostsFromCmsQueryUrl(java.lang.String cmsQueryUrl,
java.lang.String projection)
Sets the target hosts from cms query url.
|
java.util.List<java.lang.String> |
setTargetHostsFromJsonPath(java.lang.String jsonPath,
java.lang.String sourcePath,
HostsSourceType sourceType)
Sets the target hosts from json path.
|
java.util.List<java.lang.String> |
setTargetHostsFromLineByLineText(java.lang.String sourcePath,
HostsSourceType sourceType)
Sets the target hosts from line by line text.
|
java.util.List<java.lang.String> |
setTargetHostsFromList(java.util.List<java.lang.String> targetHosts)
Sets the target hosts from list.
|
java.util.List<java.lang.String> |
setTargetHostsFromString(java.lang.String targetHostsStr)
Sets the target hosts from string.
|
java.util.List<java.lang.String> setTargetHostsFromList(java.util.List<java.lang.String> targetHosts)
targetHosts
- the target hostsjava.util.List<java.lang.String> setTargetHostsFromString(java.lang.String targetHostsStr)
targetHostsStr
- the target hosts strjava.util.List<java.lang.String> setTargetHostsFromJsonPath(java.lang.String jsonPath, java.lang.String sourcePath, HostsSourceType sourceType) throws TargetHostsLoadException
jsonPath
- the json pathsourcePath
- the source pathsourceType
- the source typeTargetHostsLoadException
- the target hosts load exceptionjava.util.List<java.lang.String> setTargetHostsFromLineByLineText(java.lang.String sourcePath, HostsSourceType sourceType) throws TargetHostsLoadException
sourcePath
- the source pathsourceType
- the source typeTargetHostsLoadException
- the target hosts load exceptionjava.util.List<java.lang.String> setTargetHostsFromCmsQueryUrl(java.lang.String cmsQueryUrl) throws TargetHostsLoadException
cmsQueryUrl
- the cms query urlTargetHostsLoadException
- the target hosts load exceptionjava.util.List<java.lang.String> setTargetHostsFromCmsQueryUrl(java.lang.String cmsQueryUrl, java.lang.String projection) throws TargetHostsLoadException
cmsQueryUrl
- the cms query urlprojection
- the projectionTargetHostsLoadException
- the target hosts load exception