java.lang.Object
java.lang.Enum<CommandType>
org.qubership.atp.mia.model.impl.executable.CommandType
All Implemented Interfaces:
Serializable, Comparable<CommandType>, java.lang.constant.Constable

public enum CommandType extends Enum<CommandType> implements Serializable
  • Enum Constant Details

    • SSH

      public static final CommandType SSH
    • SSH_CheckFileOnServer

      public static final CommandType SSH_CheckFileOnServer
    • SSH_TransferFile

      public static final CommandType SSH_TransferFile
    • SSH_GenerationFile

      public static final CommandType SSH_GenerationFile
    • SSH_DownloadFiles

      public static final CommandType SSH_DownloadFiles
    • SSH_UploadFile

      public static final CommandType SSH_UploadFile
    • SSH_UploadFileAndDownloadResult

      public static final CommandType SSH_UploadFileAndDownloadResult
    • SSH_GenerateEvent

      public static final CommandType SSH_GenerateEvent
    • SQL

      public static final CommandType SQL
    • REST

      public static final CommandType REST
    • SOAP

      public static final CommandType SOAP
    • SOAP_FROM_TEST_DATA

      public static final CommandType SOAP_FROM_TEST_DATA
    • REST_FROM_TEST_DATA

      public static final CommandType REST_FROM_TEST_DATA
    • VALIDATE_TEST_DATA

      public static final CommandType VALIDATE_TEST_DATA
    • EVENT_TEST_DATA

      public static final CommandType EVENT_TEST_DATA
    • SSH_FROM_TEST_DATA

      public static final CommandType SSH_FROM_TEST_DATA
    • SQL_FROM_TEST_DATA

      public static final CommandType SQL_FROM_TEST_DATA
  • Field Details

  • Method Details

    • values

      public static CommandType[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static CommandType valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • isTestData

      public static boolean isTestData(CommandType commandType)
      Checks whether commandType is TEST_DATA process.
      Parameters:
      commandType - commandType of process.
      Returns:
      true or false.
    • getResponseType

      public static CommandResponse.CommandResponseType getResponseType(CommandType commandType)
      Returns response type according command type.
      Parameters:
      commandType - type of command.
      Returns:
      response type according command type.