Class Converter

java.lang.Object
org.qubership.atp.environments.utils.Converter

@Service public class Converter extends Object
  • Field Details

    • INTERNAL_MAPPER

      protected static final org.modelmapper.ModelMapper INTERNAL_MAPPER
  • Constructor Details

    • Converter

      public Converter()
  • Method Details

    • convert

      public <T> T convert(Object from, Class<T> to)
      Convert t.
      Type Parameters:
      T - the type parameter
      Parameters:
      from - the from
      to - the to
      Returns:
      the t
    • convertList

      public <T> List<T> convertList(List from, Class<T> to)
      Convert list list.
      Type Parameters:
      T - the type parameter
      Parameters:
      from - the from
      to - the to
      Returns:
      the list