Class KubernetesExecuteActionParser<T extends KubernetesCommand>
java.lang.Object
org.citrusframework.kubernetes.config.xml.KubernetesExecuteActionParser<T>
- All Implemented Interfaces:
org.springframework.beans.factory.xml.BeanDefinitionParser
- Direct Known Subclasses:
CreatePodActionParser,CreateServiceActionParser
public class KubernetesExecuteActionParser<T extends KubernetesCommand>
extends Object
implements org.springframework.beans.factory.xml.BeanDefinitionParser
Bean definition parser for kubernetes client action in test case.
- Since:
- 2.7
- Author:
- Christoph Deppisch
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classTest action factory bean. -
Constructor Summary
ConstructorsConstructorDescriptionKubernetesExecuteActionParser(Class<T> commandType) Constructor using kubernetes command. -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.beans.factory.config.BeanDefinitionprotected TparseCommand(T command, Element element, org.springframework.beans.factory.xml.ParserContext parserContext) Subclasses may add custom command parsing logic here.
-
Constructor Details
-
KubernetesExecuteActionParser
Constructor using kubernetes command.- Parameters:
commandType-
-
-
Method Details
-
parse
public org.springframework.beans.factory.config.BeanDefinition parse(Element element, org.springframework.beans.factory.xml.ParserContext parserContext) - Specified by:
parsein interfaceorg.springframework.beans.factory.xml.BeanDefinitionParser
-
parseCommand
protected T parseCommand(T command, Element element, org.springframework.beans.factory.xml.ParserContext parserContext) Subclasses may add custom command parsing logic here.- Parameters:
command-element-parserContext-- Returns:
-