Class KubernetesExecuteActionParser.KubernetesExecuteActionFactoryBean
java.lang.Object
org.citrusframework.config.xml.AbstractTestActionFactoryBean<KubernetesExecuteAction,KubernetesExecuteAction.Builder>
org.citrusframework.kubernetes.config.xml.KubernetesExecuteActionParser.KubernetesExecuteActionFactoryBean
- All Implemented Interfaces:
org.springframework.beans.factory.FactoryBean<KubernetesExecuteAction>
- Enclosing class:
- KubernetesExecuteActionParser<T extends KubernetesCommand>
public static class KubernetesExecuteActionParser.KubernetesExecuteActionFactoryBean
extends AbstractTestActionFactoryBean<KubernetesExecuteAction,KubernetesExecuteAction.Builder>
Test action factory bean.
-
Field Summary
Fields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionObtains the builder.Class<?>voidsetCommand(KubernetesCommand<?> command) Sets kubernetes command to execute.voidsetCommandResult(String controlCommandResult) Sets the expected control command result data.voidsetCommandResultExpressions(Map<String, Object> commandResultExpressions) Sets the expected command result expressions for path validation.voidsetKubernetesClient(KubernetesClient kubernetesClient) Sets the kubernetes client.Methods inherited from class org.citrusframework.config.xml.AbstractTestActionFactoryBean
setActor, setDescription, setNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.beans.factory.FactoryBean
isSingleton
-
Constructor Details
-
KubernetesExecuteActionFactoryBean
public KubernetesExecuteActionFactoryBean()
-
-
Method Details
-
setCommand
Sets kubernetes command to execute.- Parameters:
command-
-
setKubernetesClient
Sets the kubernetes client.- Parameters:
kubernetesClient-
-
setCommandResult
Sets the expected control command result data.- Parameters:
controlCommandResult-
-
setCommandResultExpressions
Sets the expected command result expressions for path validation.- Parameters:
commandResultExpressions-
-
getObject
- Throws:
Exception
-
getObjectType
-
getBuilder
Obtains the builder.- Specified by:
getBuilderin classAbstractTestActionFactoryBean<KubernetesExecuteAction,KubernetesExecuteAction.Builder> - Returns:
- the builder implementation.
-