Class InaTapeProxyApi

java.lang.Object
fr.gouv.vitam.storage.cold.client.InaTapeProxyApi

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2026-06-05T16:28:11.057776185+02:00[Europe/Paris]", comments="Generator version: 7.4.0") public class InaTapeProxyApi extends Object
  • Constructor Details

    • InaTapeProxyApi

      public InaTapeProxyApi()
    • InaTapeProxyApi

      public InaTapeProxyApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • eject

      public void eject(Integer driveIndex) throws ApiException
      Eject tape Ejects the tape from the drive.
      Parameters:
      driveIndex - (required)
      Throws:
      ApiException - if fails to make API call
    • getDriveStatus

      public TapeDriveState getDriveStatus(Integer driveIndex) throws ApiException
      Get tape drive status Returns detailed information about the current tape drive.
      Parameters:
      driveIndex - (required)
      Returns:
      a TapeDriveState
      Throws:
      ApiException - if fails to make API call
    • getLibraryStatus

      public TapeLibraryState getLibraryStatus() throws ApiException
      Get library status Returns the current state of the tape library, including slots and drives information.
      Returns:
      a TapeLibraryState
      Throws:
      ApiException - if fails to make API call
    • getServerTenants

      public void getServerTenants() throws ApiException
      Throws:
      ApiException - if fails to make API call
    • goToEnd

      public void goToEnd(Integer driveIndex) throws ApiException
      Go to end of data (EOD) Moves the tape to the end of the recorded data.
      Parameters:
      driveIndex - (required)
      Throws:
      ApiException - if fails to make API call
    • loadTape

      public void loadTape(Integer slotNumber, Integer drive) throws ApiException
      Load a tape Loads a tape from a specified slot into a given drive.
      Parameters:
      slotNumber - (optional)
      drive - (optional)
      Throws:
      ApiException - if fails to make API call
    • move

      public void move(Integer driveIndex, Integer position, Boolean backward) throws ApiException
      Move tape position Moves the tape a certain number of blocks forward or backward.
      Parameters:
      driveIndex - (required)
      position - (optional)
      backward - (optional)
      Throws:
      ApiException - if fails to make API call
    • readFromTape

      public void readFromTape(Integer driveIndex, String outputPath) throws ApiException
      Read data from tape Extracts a file from the mounted tape to the working directory.
      Parameters:
      driveIndex - (required)
      outputPath - (optional)
      Throws:
      ApiException - if fails to make API call
    • rewind

      public void rewind(Integer driveIndex) throws ApiException
      Rewind tape Rewinds the current tape to the beginning.
      Parameters:
      driveIndex - (required)
      Throws:
      ApiException - if fails to make API call
    • status

      public void status() throws ApiException
      Throws:
      ApiException - if fails to make API call
    • unloadTape

      public void unloadTape(Integer slotNumber, Integer drive) throws ApiException
      Unload a tape Unloads a tape from a drive back to a specified slot.
      Parameters:
      slotNumber - (optional)
      drive - (optional)
      Throws:
      ApiException - if fails to make API call
    • writeToTape

      public void writeToTape(Integer driveIndex, String inputPath) throws ApiException
      Write data to tape Transfers a file from the working directory to the mounted tape.
      Parameters:
      driveIndex - (required)
      inputPath - (optional)
      Throws:
      ApiException - if fails to make API call