Class ExportStorage

Direct Known Subclasses:
SensitivityExportStorage

public class ExportStorage extends JavaSourceStorage
Gestion des fichers VCS de type ExportInfo (appartenant au module exports). Created: 18 août 2005 15:07:36 CEST
Version:
$Revision$ Last update: $Date$ by : $Author$
Author:
Grégoire DESSARD <dessard@codelutin.com>
  • Field Details

  • Constructor Details

    • ExportStorage

      protected ExportStorage(File rootSrc, File directory, String name)
      Constructeur.
      Parameters:
      rootSrc - le repertoire root de stockage des exports
      directory - le repertoire de l'export
      name - le nom de l'export
  • Method Details

    • addStorageListener

      public static void addStorageListener(StorageChangeListener storageListener)
    • registerWatcher

      public static void registerWatcher()
    • getPackage

      public String getPackage()
      Description copied from class: JavaSourceStorage
      Get package name where script should be declared.
      Specified by:
      getPackage in class JavaSourceStorage
      Returns:
      package declaration
    • getExportDirectory

      public static File getExportDirectory()
      Get context (official VCS) export directory.
      Returns:
      context export directory
    • getCommunityExportDirectory

      public static File getCommunityExportDirectory()
      Get community VCS export directory.
      Returns:
      community export directory
    • getExport

      public static ExportStorage getExport(String name, CodeSourceStorage.Location... location)
      Retourne le storage pour l'export demandée
      Parameters:
      name - le nom de l'export souhaitée
      location - location to open storage file
      Returns:
      Le storage pour l'export
    • createExport

      public static ExportStorage createExport(String name, CodeSourceStorage.Location location)
      Create new export.
      Parameters:
      name - new export to create
      location - location to create storage file
      Returns:
      new export storage
    • getExportNames

      public static List<String> getExportNames()
      Retourne la liste des noms de toutes les régions disponible en local
      Returns:
      la liste des noms de toutes les régions disponible en local
    • checkout

      public static void checkout() throws VCSException
      Throws:
      VCSException
    • getDescription

      public String getDescription()
      Be ware this method require to instantiate a ExportInfo, so it would be better to call as often as possible.
      Overrides:
      getDescription in class JavaSourceStorage
      Returns:
      the description of the instantiate ExportInfo
      See Also: