# Uses of Enum Class
tigase.server.Command.DataType

Packages that use Command.DataType
Package
Description
tigase.component.adhoc
tigase.server
The main package with top level API for server side components.

- ## Uses of Command.DataType in tigase.component.adhoc

  Methods in tigase.component.adhoc with parameters of type Command.DataType
  Modifier and Type
  Method
  Description
  `Element`
  AdHocResponse.`addDataForm(Command.DataType dataType)`
  `Element`
  AdHocResponse.`addDataForm(Command.DataType dataType, Consumer<Element> consumer)`

- ## Uses of Command.DataType in tigase.server

  Methods in tigase.server that return Command.DataType
  Modifier and Type
  Method
  Description
  `static Command.DataType`
  Command.DataType.`valueOf(String name)`
  Returns the enum constant of this class with the specified name.
  `static Command.DataType[]`
  Command.DataType.`values()`
  Returns an array containing the constants of this enum class, in the order they are declared.
  Methods in tigase.server with parameters of type Command.DataType
  Modifier and Type
  Method
  Description
  `DataForm.Builder`
  Command.Builder.`addDataForm(Command.DataType type)`
  `static Element`
  DataForm.`addDataForm(Element el, Command.DataType data_type)`
  `Packet`
  Iq.`commandResult(Command.DataType cmd_type)`
  `protected static Element`
  Command.`createCommandEl(String node, Command.DataType data_type)`
  `static Element`
  DataForm.`createDataForm(Command.DataType data_type)`
  `static Element`
  Command.`createIqCommand(JID from, JID to, StanzaType type, String id, String node, Command.DataType data_type)`
  `Packet`
  Command.`getPacket(JID from, JID to, StanzaType type, String id, Command.DataType data_type)`
  Method returns instance of a Packet with command element added.
  Constructors in tigase.server with parameters of type Command.DataType
  Modifier
  Constructor
  Description
  ``
  `Builder(Command.DataType type)`
  ``
  `Builder(Element parent, Command.DataType type)`