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
  • Constructor Details

    • KubernetesExecuteActionParser

      public KubernetesExecuteActionParser(Class<T> commandType)
      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:
      parse in interface org.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: