Class ApiService


  • public class ApiService
    extends Object
    Intermediate API service class between Jenkins job and Defensics client. Does things which client doesn't yet do and could map some exception/messages to be more suitable for Jenkins.

    NOTE: Exception handling is subject to change when client code is improved. Currently DefensicsClientException is inspected and InterruptedExceptions are thrown separately to handle job stopping more cleanly. DefensicsRequestException could be replaced with DefensicsClientException if InterruptedExceptions are handled some way.