lib/src/main/java/edu/utexas/tacc/tapis/files/lib/utils/Utils.java
public static void checkEnabled(AuthenticatedUser authenticatedUser, TapisSystem sys) throws BadRequestException
  {
    if (sys.getEnabled() == null || !sys.getEnabled())
      throw new BadRequestException(getMsgAuth("FILES_SYS_NOTENABLED", authenticatedUser, sys.getId()));
  }
/**
   * Standard check that system is available for use. If not available throw BadRequestException
   *   which results in a response status of BAD_REQUEST (400).
   * Mapping happens in edu.utexas.tacc.tapis.sharedapi.providers.TapisExceptionMapper
   */
Standard check that system is available for use. If not available throw BadRequestException
which results in a response status of BAD_REQUEST (400).
Standard check that system is available for use . If not available throw BadRequestException which results in a response status of BAD_REQUEST ( 400 ) .
public static void checkEnabled(AuthenticatedUser authenticatedUser, TapisSystem sys) throws BadRequestException
  {
    if (sys.getEnabled() == null || !sys.getEnabled())
      throw new BadRequestException(getMsgAuth("FILES_SYS_NOTENABLED", authenticatedUser, sys.getId()));
  }
public static void checkEnabled ( AuthenticatedUser authenticatedUser , TapisSystem sys ) throws BadRequestException { if ( sys . getEnabled ( ) == null || ! sys . getEnabled ( ) ) throw new BadRequestException ( getMsgAuth ( "FILES_SYS_NOTENABLED" , authenticatedUser , sys . getId ( ) ) ) ; }
Standard check that system is available for use.
Standard check that system is available for use .