filechampion4j 0.9.8.3
File validation library for Java
Loading...
Searching...
No Matches
dev.filechampion.filechampion4j.PluginsHelper.StepConfig Class Reference
Collaboration diagram for dev.filechampion.filechampion4j.PluginsHelper.StepConfig:
Collaboration graph

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
 

Detailed Description

Class to set and return a single step configuration.

Definition at line 120 of file PluginsHelper.java.

Member Function Documentation

◆ getBody()

JSONObject dev.filechampion.filechampion4j.PluginsHelper.StepConfig.getBody ( )

Return the body of the step.

Returns
(JSONObject) the body of the step

Definition at line 317 of file PluginsHelper.java.

References dev.filechampion.filechampion4j.PluginsHelper.StepConfig.body.

◆ getCliPluginHelper()

CliPluginHelper dev.filechampion.filechampion4j.PluginsHelper.StepConfig.getCliPluginHelper ( )

Return a CliPluginHelper object.

Returns
(CliPluginHelper) a CliPluginHelper object

Definition at line 173 of file PluginsHelper.java.

References dev.filechampion.filechampion4j.PluginsHelper.StepConfig.cliPluginHelper.

◆ getCredsPath()

String dev.filechampion.filechampion4j.PluginsHelper.StepConfig.getCredsPath ( )

Return the credsPath of the step.

Returns
(String) the credsPath of the step

Definition at line 365 of file PluginsHelper.java.

References dev.filechampion.filechampion4j.PluginsHelper.StepConfig.credsPath.

◆ getEndpoint()

String dev.filechampion.filechampion4j.PluginsHelper.StepConfig.getEndpoint ( )

Return the endpoint of the step.

Returns
(String) 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().

Here is the caller graph for this function:

◆ getHeaders()

JSONObject dev.filechampion.filechampion4j.PluginsHelper.StepConfig.getHeaders ( )

Return the headers of the step.

Returns
(JSONObject) the headers of the step

Definition at line 301 of file PluginsHelper.java.

References dev.filechampion.filechampion4j.PluginsHelper.StepConfig.headers.

◆ getHttpFailCode()

int dev.filechampion.filechampion4j.PluginsHelper.StepConfig.getHttpFailCode ( )

Return the httpFailCode of the step.

Returns
(int) the httpFailCode of the step

Definition at line 349 of file PluginsHelper.java.

References dev.filechampion.filechampion4j.PluginsHelper.StepConfig.httpFailCode.

◆ getHttpPassCode()

int dev.filechampion.filechampion4j.PluginsHelper.StepConfig.getHttpPassCode ( )

Return the httpPassCode of the step.

Returns
(int) the httpPassCode of the step

Definition at line 333 of file PluginsHelper.java.

References dev.filechampion.filechampion4j.PluginsHelper.StepConfig.httpPassCode.

◆ getMethod()

String dev.filechampion.filechampion4j.PluginsHelper.StepConfig.getMethod ( )

Return the method of the step.

Returns
(String) the method of the step

Definition at line 285 of file PluginsHelper.java.

References dev.filechampion.filechampion4j.PluginsHelper.StepConfig.method.

◆ getName()

String dev.filechampion.filechampion4j.PluginsHelper.StepConfig.getName ( )

Return the name of the step.

Returns
(String) 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().

Here is the caller graph for this function:

◆ getOnFail()

String dev.filechampion.filechampion4j.PluginsHelper.StepConfig.getOnFail ( )

Return the onFail of the step.

Returns
(String) the onFail of the step

Definition at line 253 of file PluginsHelper.java.

References dev.filechampion.filechampion4j.PluginsHelper.StepConfig.onFail.

◆ getResponse()

String dev.filechampion.filechampion4j.PluginsHelper.StepConfig.getResponse ( )

Return the response of the step.

Returns
(String) 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().

Here is the caller graph for this function:

◆ getTimeout()

int dev.filechampion.filechampion4j.PluginsHelper.StepConfig.getTimeout ( )

Return the timeout of the step.

Returns
(int) 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().

Here is the caller graph for this function:

◆ getType()

String dev.filechampion.filechampion4j.PluginsHelper.StepConfig.getType ( )

Return the type of the step.

Returns
(String) 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().

Here is the caller graph for this function:

◆ isRunAfter()

boolean dev.filechampion.filechampion4j.PluginsHelper.StepConfig.isRunAfter ( )

Check if run_after is set to true.

Returns
(boolean) true if run_after is set to true, false otherwise

Definition at line 157 of file PluginsHelper.java.

References dev.filechampion.filechampion4j.PluginsHelper.StepConfig.runAfter.

Referenced by dev.filechampion.filechampion4j.FileValidator.loadPlugins().

Here is the caller graph for this function:

◆ isRunBefore()

boolean dev.filechampion.filechampion4j.PluginsHelper.StepConfig.isRunBefore ( )

Check if run_before is set to true.

Returns
(boolean) true if run_before is set to true, false otherwise

Definition at line 141 of file PluginsHelper.java.

References dev.filechampion.filechampion4j.PluginsHelper.StepConfig.runBefore.

Referenced by dev.filechampion.filechampion4j.FileValidator.loadPlugins().

Here is the caller graph for this function:

◆ setBody()

void dev.filechampion.filechampion4j.PluginsHelper.StepConfig.setBody ( JSONObject  body)

Set the body of the step.

Parameters
body(JSONObject) the body of the step

Definition at line 325 of file PluginsHelper.java.

325 {
326 this.body = body;
327 }

References dev.filechampion.filechampion4j.PluginsHelper.StepConfig.body.

Referenced by dev.filechampion.filechampion4j.PluginsHelper.getPluginConfigs().

Here is the caller graph for this function:

◆ setCliPluginHelper()

void dev.filechampion.filechampion4j.PluginsHelper.StepConfig.setCliPluginHelper ( CliPluginHelper  cliPluginHelper)

Set a CliPluginHelper object.

Parameters
cliPluginHelper(CliPluginHelper) a CliPluginHelper object

Definition at line 181 of file PluginsHelper.java.

181 {
182 this.cliPluginHelper = cliPluginHelper;
183 }

References dev.filechampion.filechampion4j.PluginsHelper.StepConfig.cliPluginHelper.

Referenced by dev.filechampion.filechampion4j.PluginsHelper.getPluginConfigs().

Here is the caller graph for this function:

◆ setCredsPath()

void dev.filechampion.filechampion4j.PluginsHelper.StepConfig.setCredsPath ( String  credsPath)

Set the credsPath of the step.

Parameters
credsPath(String) the credsPath of the step

Definition at line 373 of file PluginsHelper.java.

373 {
374 this.credsPath = credsPath;
375 }

References dev.filechampion.filechampion4j.PluginsHelper.StepConfig.credsPath.

Referenced by dev.filechampion.filechampion4j.PluginsHelper.getPluginConfigs().

Here is the caller graph for this function:

◆ setEndpoint()

void dev.filechampion.filechampion4j.PluginsHelper.StepConfig.setEndpoint ( String  endpoint)

Set the endpoint of the step.

Parameters
endpoint(String) the endpoint of the step

Definition at line 229 of file PluginsHelper.java.

229 {
230 this.endpoint = endpoint;
231 }

References dev.filechampion.filechampion4j.PluginsHelper.StepConfig.endpoint.

Referenced by dev.filechampion.filechampion4j.PluginsHelper.getPluginConfigs().

Here is the caller graph for this function:

◆ setHeaders()

void dev.filechampion.filechampion4j.PluginsHelper.StepConfig.setHeaders ( JSONObject  headers)

Set the headers of the step.

Parameters
headers(JSONObject) the headers of the step

Definition at line 309 of file PluginsHelper.java.

309 {
310 this.headers = headers;
311 }

References dev.filechampion.filechampion4j.PluginsHelper.StepConfig.headers.

Referenced by dev.filechampion.filechampion4j.PluginsHelper.getPluginConfigs().

Here is the caller graph for this function:

◆ setHttpFailCode()

void dev.filechampion.filechampion4j.PluginsHelper.StepConfig.setHttpFailCode ( int  httpFailCode)

Set the httpFailCode of the step.

Parameters
httpFailCode(int) the httpFailCode of the step

Definition at line 357 of file PluginsHelper.java.

357 {
358 this.httpFailCode = httpFailCode;
359 }

References dev.filechampion.filechampion4j.PluginsHelper.StepConfig.httpFailCode.

Referenced by dev.filechampion.filechampion4j.PluginsHelper.getPluginConfigs().

Here is the caller graph for this function:

◆ setHttpPassCode()

void dev.filechampion.filechampion4j.PluginsHelper.StepConfig.setHttpPassCode ( int  httpPassCode)

Set the httpPassCode of the step.

Parameters
httpPassCode(int) the httpPassCode of the step

Definition at line 341 of file PluginsHelper.java.

341 {
342 this.httpPassCode = httpPassCode;
343 }

References dev.filechampion.filechampion4j.PluginsHelper.StepConfig.httpPassCode.

Referenced by dev.filechampion.filechampion4j.PluginsHelper.getPluginConfigs().

Here is the caller graph for this function:

◆ setMethod()

void dev.filechampion.filechampion4j.PluginsHelper.StepConfig.setMethod ( String  method)

Set the method of the step.

Parameters
method(String) the method of the step

Definition at line 293 of file PluginsHelper.java.

293 {
294 this.method = method;
295 }

References dev.filechampion.filechampion4j.PluginsHelper.StepConfig.method.

Referenced by dev.filechampion.filechampion4j.PluginsHelper.getPluginConfigs().

Here is the caller graph for this function:

◆ setName()

void dev.filechampion.filechampion4j.PluginsHelper.StepConfig.setName ( String  name)

Set the name of the step.

Parameters
name(String) the name of the step

Definition at line 197 of file PluginsHelper.java.

197 {
198 this.name = name;
199 }

References dev.filechampion.filechampion4j.PluginsHelper.StepConfig.name.

Referenced by dev.filechampion.filechampion4j.PluginsHelper.getPluginConfigs().

Here is the caller graph for this function:

◆ setOnFail()

void dev.filechampion.filechampion4j.PluginsHelper.StepConfig.setOnFail ( String  onFail)

Set the onFail of the step.

Parameters
onFail(String) the onFail of the step

Definition at line 261 of file PluginsHelper.java.

261 {
262 this.onFail = onFail;
263 }

References dev.filechampion.filechampion4j.PluginsHelper.StepConfig.onFail.

Referenced by dev.filechampion.filechampion4j.PluginsHelper.getPluginConfigs().

Here is the caller graph for this function:

◆ setResponse()

void dev.filechampion.filechampion4j.PluginsHelper.StepConfig.setResponse ( String  response)

Set the response of the step.

Parameters
response(String) the response of the step

Definition at line 277 of file PluginsHelper.java.

277 {
278 this.response = response;
279 }

References dev.filechampion.filechampion4j.PluginsHelper.StepConfig.response.

Referenced by dev.filechampion.filechampion4j.PluginsHelper.getPluginConfigs().

Here is the caller graph for this function:

◆ setRunAfter()

void dev.filechampion.filechampion4j.PluginsHelper.StepConfig.setRunAfter ( boolean  runAfter)

Set run_after to true or false.

Parameters
runAfter(boolean) true if run_after is set to true, false otherwise

Definition at line 165 of file PluginsHelper.java.

165 {
166 this.runAfter = runAfter;
167 }

References dev.filechampion.filechampion4j.PluginsHelper.StepConfig.runAfter.

Referenced by dev.filechampion.filechampion4j.PluginsHelper.getPluginConfigs().

Here is the caller graph for this function:

◆ setRunBefore()

void dev.filechampion.filechampion4j.PluginsHelper.StepConfig.setRunBefore ( boolean  runBefore)

Set run_before to true or false.

Parameters
runBefore(boolean) true if run_before is set to true, false otherwise

Definition at line 149 of file PluginsHelper.java.

149 {
150 this.runBefore = runBefore;
151 }

References dev.filechampion.filechampion4j.PluginsHelper.StepConfig.runBefore.

Referenced by dev.filechampion.filechampion4j.PluginsHelper.getPluginConfigs().

Here is the caller graph for this function:

◆ setTimeout()

void dev.filechampion.filechampion4j.PluginsHelper.StepConfig.setTimeout ( int  timeout)

Set the timeout of the step.

Parameters
timeout(int) the timeout of the step

Definition at line 245 of file PluginsHelper.java.

245 {
246 this.timeout = timeout;
247 }

References dev.filechampion.filechampion4j.PluginsHelper.StepConfig.timeout.

Referenced by dev.filechampion.filechampion4j.PluginsHelper.getPluginConfigs().

Here is the caller graph for this function:

◆ setType()

void dev.filechampion.filechampion4j.PluginsHelper.StepConfig.setType ( String  type)

Set the type of the step.

Parameters
type(String) the type of the step

Definition at line 213 of file PluginsHelper.java.

213 {
214 this.type = type;
215 }

References dev.filechampion.filechampion4j.PluginsHelper.StepConfig.type.

Referenced by dev.filechampion.filechampion4j.PluginsHelper.getPluginConfigs().

Here is the caller graph for this function:

Member Data Documentation

◆ body

JSONObject dev.filechampion.filechampion4j.PluginsHelper.StepConfig.body
private

◆ cliPluginHelper

CliPluginHelper dev.filechampion.filechampion4j.PluginsHelper.StepConfig.cliPluginHelper
private

◆ credsPath

String dev.filechampion.filechampion4j.PluginsHelper.StepConfig.credsPath
private

◆ endpoint

String dev.filechampion.filechampion4j.PluginsHelper.StepConfig.endpoint
private

◆ headers

JSONObject dev.filechampion.filechampion4j.PluginsHelper.StepConfig.headers
private

◆ httpFailCode

int dev.filechampion.filechampion4j.PluginsHelper.StepConfig.httpFailCode
private

◆ httpPassCode

int dev.filechampion.filechampion4j.PluginsHelper.StepConfig.httpPassCode
private

◆ method

String dev.filechampion.filechampion4j.PluginsHelper.StepConfig.method
private

◆ name

String dev.filechampion.filechampion4j.PluginsHelper.StepConfig.name
private

◆ onFail

String dev.filechampion.filechampion4j.PluginsHelper.StepConfig.onFail
private

◆ response

String dev.filechampion.filechampion4j.PluginsHelper.StepConfig.response
private

◆ runAfter

boolean dev.filechampion.filechampion4j.PluginsHelper.StepConfig.runAfter
private

◆ runBefore

boolean dev.filechampion.filechampion4j.PluginsHelper.StepConfig.runBefore
private

◆ timeout

int dev.filechampion.filechampion4j.PluginsHelper.StepConfig.timeout
private

◆ type

String dev.filechampion.filechampion4j.PluginsHelper.StepConfig.type
private

The documentation for this class was generated from the following file: