Package step.client.tests.commons.helper
Class AbstractEnhancedKeyword
- java.lang.Object
-
- step.handlers.javahandler.AbstractKeyword
-
- step.client.tests.commons.helper.AbstractEnhancedKeyword
-
- Direct Known Subclasses:
ExecutionsKeywords,GenericKeywords,HttpClientKeyword,KeywordsKeywords,ParametersKeywords,PlansKeywords,RtmKeywords
public class AbstractEnhancedKeyword extends step.handlers.javahandler.AbstractKeyword- Author:
- Jonathan Rubiero
-
-
Constructor Summary
Constructors Constructor Description AbstractEnhancedKeyword()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddErrorMessage(String errorMessage)StringbuildMessage(String header, Set<String> messageParts)voidcheckMandatoryInputs(String... mandatoryInputs)voidfailWithErrorMessage(String errorMessage)voidfailWithErrorMessage(String errorMessage, boolean withLog, boolean withTrace)voidfailWithException(Exception e)voidfailWithException(Exception e, boolean withLog, boolean withStackStrace)voidsetFailed()voidsetSuccess()
-
-
-
Method Detail
-
checkMandatoryInputs
public void checkMandatoryInputs(String... mandatoryInputs)
-
failWithException
public void failWithException(Exception e)
-
failWithException
public void failWithException(Exception e, boolean withLog, boolean withStackStrace)
-
failWithErrorMessage
public void failWithErrorMessage(String errorMessage)
-
failWithErrorMessage
public void failWithErrorMessage(String errorMessage, boolean withLog, boolean withTrace)
-
addErrorMessage
public void addErrorMessage(String errorMessage)
-
setSuccess
public void setSuccess()
-
setFailed
public void setFailed()
-
-