Package | Description |
---|---|
io.parallec.core |
Main package, including most user-facing classes such as the ParallelClient,
ParallelTask etc.
|
io.parallec.core.taskbuilder.targethosts |
Target host builder.
|
io.parallec.core.util |
Utility functions.
|
Modifier and Type | Method and Description |
---|---|
static HostsSourceType |
HostsSourceType.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HostsSourceType[] |
HostsSourceType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
ParallelTaskBuilder |
ParallelTaskBuilder.setTargetHostsFromJsonPath(java.lang.String jsonPath,
java.lang.String sourcePath,
HostsSourceType sourceType)
Sets the target hosts from json path.
|
ParallelTaskBuilder |
ParallelTaskBuilder.setTargetHostsFromLineByLineText(java.lang.String sourcePath,
HostsSourceType sourceType)
Sets the target hosts from line by line text.
|
Modifier and Type | Method and Description |
---|---|
private java.lang.String |
TargetHostsBuilder.getContentFromPath(java.lang.String sourcePath,
HostsSourceType sourceType)
note that for read from file, this will just load all to memory.
|
java.util.List<java.lang.String> |
TargetHostsBuilder.setTargetHostsFromJsonPath(java.lang.String jsonPath,
java.lang.String sourcePath,
HostsSourceType sourceType)
TODO https://github.com/jayway/JsonPath
|
java.util.List<java.lang.String> |
ITargetHostsBuilder.setTargetHostsFromJsonPath(java.lang.String jsonPath,
java.lang.String sourcePath,
HostsSourceType sourceType)
Sets the target hosts from json path.
|
java.util.List<java.lang.String> |
TargetHostsBuilder.setTargetHostsFromLineByLineText(java.lang.String sourcePath,
HostsSourceType sourceType)
get target hosts from line by line.
|
java.util.List<java.lang.String> |
ITargetHostsBuilder.setTargetHostsFromLineByLineText(java.lang.String sourcePath,
HostsSourceType sourceType)
Sets the target hosts from line by line text.
|
Modifier and Type | Method and Description |
---|---|
static java.util.List<java.lang.String> |
PcFileNetworkIoUtils.getListFromLineByLineText(java.lang.String sourcePath,
HostsSourceType sourceType) |