![]() |
filechampion4j 0.9.8.3
File validation library for Java
|
Public Member Functions | |
boolean | isRunBefore () |
void | setRunBefore (boolean runBefore) |
boolean | isRunAfter () |
void | setRunAfter (boolean runAfter) |
CliPluginHelper | getCliPluginHelper () |
void | setCliPluginHelper (CliPluginHelper cliPluginHelper) |
String | getName () |
void | setName (String name) |
String | getType () |
void | setType (String type) |
String | getEndpoint () |
void | setEndpoint (String endpoint) |
int | getTimeout () |
void | setTimeout (int timeout) |
String | getOnFail () |
void | setOnFail (String onFail) |
String | getResponse () |
void | setResponse (String response) |
String | getMethod () |
void | setMethod (String method) |
JSONObject | getHeaders () |
void | setHeaders (JSONObject headers) |
JSONObject | getBody () |
void | setBody (JSONObject body) |
int | getHttpPassCode () |
void | setHttpPassCode (int httpPassCode) |
int | getHttpFailCode () |
void | setHttpFailCode (int httpFailCode) |
String | getCredsPath () |
void | setCredsPath (String credsPath) |
Private Attributes | |
String | name |
String | type |
String | endpoint |
int | timeout |
String | onFail |
String | response |
String | method |
JSONObject | headers |
JSONObject | body |
int | httpPassCode |
int | httpFailCode |
String | credsPath |
CliPluginHelper | cliPluginHelper |
boolean | runBefore |
boolean | runAfter |
Class to set and return a single step configuration.
Definition at line 120 of file PluginsHelper.java.
JSONObject dev.filechampion.filechampion4j.PluginsHelper.StepConfig.getBody | ( | ) |
Return the body of the step.
Definition at line 317 of file PluginsHelper.java.
References dev.filechampion.filechampion4j.PluginsHelper.StepConfig.body.
CliPluginHelper dev.filechampion.filechampion4j.PluginsHelper.StepConfig.getCliPluginHelper | ( | ) |
Return a CliPluginHelper object.
Definition at line 173 of file PluginsHelper.java.
References dev.filechampion.filechampion4j.PluginsHelper.StepConfig.cliPluginHelper.
String dev.filechampion.filechampion4j.PluginsHelper.StepConfig.getCredsPath | ( | ) |
Return the credsPath of the step.
Definition at line 365 of file PluginsHelper.java.
References dev.filechampion.filechampion4j.PluginsHelper.StepConfig.credsPath.
String dev.filechampion.filechampion4j.PluginsHelper.StepConfig.getEndpoint | ( | ) |
Return the endpoint of the step.
Definition at line 221 of file PluginsHelper.java.
References dev.filechampion.filechampion4j.PluginsHelper.StepConfig.endpoint.
Referenced by dev.filechampion.filechampion4j.CliPluginHelper.CliPluginHelper().
JSONObject dev.filechampion.filechampion4j.PluginsHelper.StepConfig.getHeaders | ( | ) |
Return the headers of the step.
Definition at line 301 of file PluginsHelper.java.
References dev.filechampion.filechampion4j.PluginsHelper.StepConfig.headers.
int dev.filechampion.filechampion4j.PluginsHelper.StepConfig.getHttpFailCode | ( | ) |
Return the httpFailCode of the step.
Definition at line 349 of file PluginsHelper.java.
References dev.filechampion.filechampion4j.PluginsHelper.StepConfig.httpFailCode.
int dev.filechampion.filechampion4j.PluginsHelper.StepConfig.getHttpPassCode | ( | ) |
Return the httpPassCode of the step.
Definition at line 333 of file PluginsHelper.java.
References dev.filechampion.filechampion4j.PluginsHelper.StepConfig.httpPassCode.
String dev.filechampion.filechampion4j.PluginsHelper.StepConfig.getMethod | ( | ) |
Return the method of the step.
Definition at line 285 of file PluginsHelper.java.
References dev.filechampion.filechampion4j.PluginsHelper.StepConfig.method.
String dev.filechampion.filechampion4j.PluginsHelper.StepConfig.getName | ( | ) |
Return the name of the step.
Definition at line 189 of file PluginsHelper.java.
References dev.filechampion.filechampion4j.PluginsHelper.StepConfig.name.
Referenced by dev.filechampion.filechampion4j.CliPluginHelper.CliPluginHelper(), and dev.filechampion.filechampion4j.CliPluginHelper.execute().
String dev.filechampion.filechampion4j.PluginsHelper.StepConfig.getOnFail | ( | ) |
Return the onFail of the step.
Definition at line 253 of file PluginsHelper.java.
References dev.filechampion.filechampion4j.PluginsHelper.StepConfig.onFail.
String dev.filechampion.filechampion4j.PluginsHelper.StepConfig.getResponse | ( | ) |
Return the response of the step.
Definition at line 269 of file PluginsHelper.java.
References dev.filechampion.filechampion4j.PluginsHelper.StepConfig.response.
Referenced by dev.filechampion.filechampion4j.CliPluginHelper.CliPluginHelper().
int dev.filechampion.filechampion4j.PluginsHelper.StepConfig.getTimeout | ( | ) |
Return the timeout of the step.
Definition at line 237 of file PluginsHelper.java.
References dev.filechampion.filechampion4j.PluginsHelper.StepConfig.timeout.
Referenced by dev.filechampion.filechampion4j.CliPluginHelper.CliPluginHelper().
String dev.filechampion.filechampion4j.PluginsHelper.StepConfig.getType | ( | ) |
Return the type of the step.
Definition at line 205 of file PluginsHelper.java.
References dev.filechampion.filechampion4j.PluginsHelper.StepConfig.type.
Referenced by dev.filechampion.filechampion4j.PluginsHelper.getPluginConfigs().
boolean dev.filechampion.filechampion4j.PluginsHelper.StepConfig.isRunAfter | ( | ) |
Check if run_after is set to true.
Definition at line 157 of file PluginsHelper.java.
References dev.filechampion.filechampion4j.PluginsHelper.StepConfig.runAfter.
Referenced by dev.filechampion.filechampion4j.FileValidator.loadPlugins().
boolean dev.filechampion.filechampion4j.PluginsHelper.StepConfig.isRunBefore | ( | ) |
Check if run_before is set to true.
Definition at line 141 of file PluginsHelper.java.
References dev.filechampion.filechampion4j.PluginsHelper.StepConfig.runBefore.
Referenced by dev.filechampion.filechampion4j.FileValidator.loadPlugins().
void dev.filechampion.filechampion4j.PluginsHelper.StepConfig.setBody | ( | JSONObject | body | ) |
Set the body of the step.
body | (JSONObject) the body of the step |
Definition at line 325 of file PluginsHelper.java.
References dev.filechampion.filechampion4j.PluginsHelper.StepConfig.body.
Referenced by dev.filechampion.filechampion4j.PluginsHelper.getPluginConfigs().
void dev.filechampion.filechampion4j.PluginsHelper.StepConfig.setCliPluginHelper | ( | CliPluginHelper | cliPluginHelper | ) |
Set a CliPluginHelper object.
cliPluginHelper | (CliPluginHelper) a CliPluginHelper object |
Definition at line 181 of file PluginsHelper.java.
References dev.filechampion.filechampion4j.PluginsHelper.StepConfig.cliPluginHelper.
Referenced by dev.filechampion.filechampion4j.PluginsHelper.getPluginConfigs().
void dev.filechampion.filechampion4j.PluginsHelper.StepConfig.setCredsPath | ( | String | credsPath | ) |
Set the credsPath of the step.
credsPath | (String) the credsPath of the step |
Definition at line 373 of file PluginsHelper.java.
References dev.filechampion.filechampion4j.PluginsHelper.StepConfig.credsPath.
Referenced by dev.filechampion.filechampion4j.PluginsHelper.getPluginConfigs().
void dev.filechampion.filechampion4j.PluginsHelper.StepConfig.setEndpoint | ( | String | endpoint | ) |
Set the endpoint of the step.
endpoint | (String) the endpoint of the step |
Definition at line 229 of file PluginsHelper.java.
References dev.filechampion.filechampion4j.PluginsHelper.StepConfig.endpoint.
Referenced by dev.filechampion.filechampion4j.PluginsHelper.getPluginConfigs().
void dev.filechampion.filechampion4j.PluginsHelper.StepConfig.setHeaders | ( | JSONObject | headers | ) |
Set the headers of the step.
headers | (JSONObject) the headers of the step |
Definition at line 309 of file PluginsHelper.java.
References dev.filechampion.filechampion4j.PluginsHelper.StepConfig.headers.
Referenced by dev.filechampion.filechampion4j.PluginsHelper.getPluginConfigs().
void dev.filechampion.filechampion4j.PluginsHelper.StepConfig.setHttpFailCode | ( | int | httpFailCode | ) |
Set the httpFailCode of the step.
httpFailCode | (int) the httpFailCode of the step |
Definition at line 357 of file PluginsHelper.java.
References dev.filechampion.filechampion4j.PluginsHelper.StepConfig.httpFailCode.
Referenced by dev.filechampion.filechampion4j.PluginsHelper.getPluginConfigs().
void dev.filechampion.filechampion4j.PluginsHelper.StepConfig.setHttpPassCode | ( | int | httpPassCode | ) |
Set the httpPassCode of the step.
httpPassCode | (int) the httpPassCode of the step |
Definition at line 341 of file PluginsHelper.java.
References dev.filechampion.filechampion4j.PluginsHelper.StepConfig.httpPassCode.
Referenced by dev.filechampion.filechampion4j.PluginsHelper.getPluginConfigs().
void dev.filechampion.filechampion4j.PluginsHelper.StepConfig.setMethod | ( | String | method | ) |
Set the method of the step.
method | (String) the method of the step |
Definition at line 293 of file PluginsHelper.java.
References dev.filechampion.filechampion4j.PluginsHelper.StepConfig.method.
Referenced by dev.filechampion.filechampion4j.PluginsHelper.getPluginConfigs().
void dev.filechampion.filechampion4j.PluginsHelper.StepConfig.setName | ( | String | name | ) |
Set the name of the step.
name | (String) the name of the step |
Definition at line 197 of file PluginsHelper.java.
References dev.filechampion.filechampion4j.PluginsHelper.StepConfig.name.
Referenced by dev.filechampion.filechampion4j.PluginsHelper.getPluginConfigs().
void dev.filechampion.filechampion4j.PluginsHelper.StepConfig.setOnFail | ( | String | onFail | ) |
Set the onFail of the step.
onFail | (String) the onFail of the step |
Definition at line 261 of file PluginsHelper.java.
References dev.filechampion.filechampion4j.PluginsHelper.StepConfig.onFail.
Referenced by dev.filechampion.filechampion4j.PluginsHelper.getPluginConfigs().
void dev.filechampion.filechampion4j.PluginsHelper.StepConfig.setResponse | ( | String | response | ) |
Set the response of the step.
response | (String) the response of the step |
Definition at line 277 of file PluginsHelper.java.
References dev.filechampion.filechampion4j.PluginsHelper.StepConfig.response.
Referenced by dev.filechampion.filechampion4j.PluginsHelper.getPluginConfigs().
void dev.filechampion.filechampion4j.PluginsHelper.StepConfig.setRunAfter | ( | boolean | runAfter | ) |
Set run_after to true or false.
runAfter | (boolean) true if run_after is set to true, false otherwise |
Definition at line 165 of file PluginsHelper.java.
References dev.filechampion.filechampion4j.PluginsHelper.StepConfig.runAfter.
Referenced by dev.filechampion.filechampion4j.PluginsHelper.getPluginConfigs().
void dev.filechampion.filechampion4j.PluginsHelper.StepConfig.setRunBefore | ( | boolean | runBefore | ) |
Set run_before to true or false.
runBefore | (boolean) true if run_before is set to true, false otherwise |
Definition at line 149 of file PluginsHelper.java.
References dev.filechampion.filechampion4j.PluginsHelper.StepConfig.runBefore.
Referenced by dev.filechampion.filechampion4j.PluginsHelper.getPluginConfigs().
void dev.filechampion.filechampion4j.PluginsHelper.StepConfig.setTimeout | ( | int | timeout | ) |
Set the timeout of the step.
timeout | (int) the timeout of the step |
Definition at line 245 of file PluginsHelper.java.
References dev.filechampion.filechampion4j.PluginsHelper.StepConfig.timeout.
Referenced by dev.filechampion.filechampion4j.PluginsHelper.getPluginConfigs().
void dev.filechampion.filechampion4j.PluginsHelper.StepConfig.setType | ( | String | type | ) |
Set the type of the step.
type | (String) the type of the step |
Definition at line 213 of file PluginsHelper.java.
References dev.filechampion.filechampion4j.PluginsHelper.StepConfig.type.
Referenced by dev.filechampion.filechampion4j.PluginsHelper.getPluginConfigs().
|
private |
Definition at line 129 of file PluginsHelper.java.
Referenced by dev.filechampion.filechampion4j.PluginsHelper.StepConfig.getBody(), and dev.filechampion.filechampion4j.PluginsHelper.StepConfig.setBody().
|
private |
Definition at line 133 of file PluginsHelper.java.
Referenced by dev.filechampion.filechampion4j.PluginsHelper.StepConfig.getCliPluginHelper(), and dev.filechampion.filechampion4j.PluginsHelper.StepConfig.setCliPluginHelper().
|
private |
Definition at line 132 of file PluginsHelper.java.
Referenced by dev.filechampion.filechampion4j.PluginsHelper.StepConfig.getCredsPath(), and dev.filechampion.filechampion4j.PluginsHelper.StepConfig.setCredsPath().
|
private |
Definition at line 123 of file PluginsHelper.java.
Referenced by dev.filechampion.filechampion4j.PluginsHelper.StepConfig.getEndpoint(), and dev.filechampion.filechampion4j.PluginsHelper.StepConfig.setEndpoint().
|
private |
Definition at line 128 of file PluginsHelper.java.
Referenced by dev.filechampion.filechampion4j.PluginsHelper.StepConfig.getHeaders(), and dev.filechampion.filechampion4j.PluginsHelper.StepConfig.setHeaders().
|
private |
Definition at line 131 of file PluginsHelper.java.
Referenced by dev.filechampion.filechampion4j.PluginsHelper.StepConfig.getHttpFailCode(), and dev.filechampion.filechampion4j.PluginsHelper.StepConfig.setHttpFailCode().
|
private |
Definition at line 130 of file PluginsHelper.java.
Referenced by dev.filechampion.filechampion4j.PluginsHelper.StepConfig.getHttpPassCode(), and dev.filechampion.filechampion4j.PluginsHelper.StepConfig.setHttpPassCode().
|
private |
Definition at line 127 of file PluginsHelper.java.
Referenced by dev.filechampion.filechampion4j.PluginsHelper.StepConfig.getMethod(), and dev.filechampion.filechampion4j.PluginsHelper.StepConfig.setMethod().
|
private |
Definition at line 121 of file PluginsHelper.java.
Referenced by dev.filechampion.filechampion4j.PluginsHelper.StepConfig.getName(), and dev.filechampion.filechampion4j.PluginsHelper.StepConfig.setName().
|
private |
Definition at line 125 of file PluginsHelper.java.
Referenced by dev.filechampion.filechampion4j.PluginsHelper.StepConfig.getOnFail(), and dev.filechampion.filechampion4j.PluginsHelper.StepConfig.setOnFail().
|
private |
Definition at line 126 of file PluginsHelper.java.
Referenced by dev.filechampion.filechampion4j.PluginsHelper.StepConfig.getResponse(), and dev.filechampion.filechampion4j.PluginsHelper.StepConfig.setResponse().
|
private |
Definition at line 135 of file PluginsHelper.java.
Referenced by dev.filechampion.filechampion4j.PluginsHelper.StepConfig.isRunAfter(), and dev.filechampion.filechampion4j.PluginsHelper.StepConfig.setRunAfter().
|
private |
Definition at line 134 of file PluginsHelper.java.
Referenced by dev.filechampion.filechampion4j.PluginsHelper.StepConfig.isRunBefore(), and dev.filechampion.filechampion4j.PluginsHelper.StepConfig.setRunBefore().
|
private |
Definition at line 124 of file PluginsHelper.java.
Referenced by dev.filechampion.filechampion4j.PluginsHelper.StepConfig.getTimeout(), and dev.filechampion.filechampion4j.PluginsHelper.StepConfig.setTimeout().
|
private |
Definition at line 122 of file PluginsHelper.java.
Referenced by dev.filechampion.filechampion4j.PluginsHelper.StepConfig.getType(), and dev.filechampion.filechampion4j.PluginsHelper.StepConfig.setType().