Package fr.ifremer.isisfish.datastore
Class SensitivityExportStorage
java.lang.Object
fr.ifremer.isisfish.datastore.VersionStorage
fr.ifremer.isisfish.datastore.CodeSourceStorage
fr.ifremer.isisfish.datastore.JavaSourceStorage
fr.ifremer.isisfish.datastore.ExportStorage
fr.ifremer.isisfish.datastore.SensitivityExportStorage
Gestion des fichers VCS de type
SensitivityExport
(appartenant au module exports).
Created: 18 août 2005 15:07:36 CEST- Version:
- $Revision$ Last update: $Date$ by : $Author$
- Author:
- chatellier eric <chatellier@codelutin.com>
-
Nested Class Summary
Nested classes/interfaces inherited from class fr.ifremer.isisfish.datastore.CodeSourceStorage
CodeSourceStorage.Location
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
Template freemarker pour les scripts d'export .protected static Map<String,
SensitivityExportStorage> Instance cache.protected static Set<StorageChangeListener>
Fields inherited from class fr.ifremer.isisfish.datastore.ExportStorage
EXPORT_PATH, EXPORT_TEMPLATE
Fields inherited from class fr.ifremer.isisfish.datastore.JavaSourceStorage
PARAM_PREFIX
Fields inherited from class fr.ifremer.isisfish.datastore.CodeSourceStorage
content, lastContentLength, lastContentUpdate, name
Fields inherited from class fr.ifremer.isisfish.datastore.VersionStorage
file, root
-
Constructor Summary
ModifierConstructorDescriptionprotected
SensitivityExportStorage
(File rootSrc, File directory, String name) Constructeur. -
Method Summary
Modifier and TypeMethodDescriptionstatic void
addStorageListener
(StorageChangeListener storageListener) static void
checkout()
static SensitivityExportStorage
createSensitivityExport
(String name, CodeSourceStorage.Location location) Create new sensitivity export.static File
Get community VCS sensitivity export directory.Get package name where script should be declared.static SensitivityExportStorage
getSensitivityExport
(String name, CodeSourceStorage.Location... location) Retourne le storage pour l'export demandé.static File
Get context (official VCS) sensitivity export directory.Retourne la liste des noms de toutes les régions disponible en local.static void
Methods inherited from class fr.ifremer.isisfish.datastore.ExportStorage
createExport, getCommunityExportDirectory, getDescription, getExport, getExportDirectory, getExportNames
Methods inherited from class fr.ifremer.isisfish.datastore.JavaSourceStorage
clone, compile, doJavadoc, getCodeClass, getFieldDoc, getFQN, getName, getNewInstance, getParamAsString, getParameterDoc, getParameterNamesAndField, getParameterType, getParameterValue, setParameterValue
Methods inherited from class fr.ifremer.isisfish.datastore.CodeSourceStorage
exists, getContent, getFiles, getName, nonEmptyLocation, prepare, reload, setContent, setContent
Methods inherited from class fr.ifremer.isisfish.datastore.VersionStorage
add, checkout, commit, delete, diff, getCommunityDatabaseDirectory, getCommunityVCS, getContextDatabaseDirectory, getCurrentVCS, getCurrentVCS, getFile, getFiles, getRemoteStorageNames, getRoot, getStorageNames, getVCS, isOnRemote, isUpToDate, isVersionnableFile, registerWatcher, update
-
Field Details
-
SENSITIVITY_EXPORT_PATH
- See Also:
-
SENSITIVITY_EXPORT_TEMPLATE
Template freemarker pour les scripts d'export .- See Also:
-
sensitivityExportsCache
Instance cache. -
storageListeners
-
-
Constructor Details
-
SensitivityExportStorage
Constructeur.- Parameters:
rootSrc
- le repertoire root de stockage des exportsdirectory
- le repertoire de l'exportname
- le nom de l'export
-
-
Method Details
-
addStorageListener
-
registerWatcher
public static void registerWatcher() -
getPackage
Description copied from class:JavaSourceStorage
Get package name where script should be declared.- Overrides:
getPackage
in classExportStorage
- Returns:
- package declaration
-
getSensitivityExportDirectory
Get context (official VCS) sensitivity export directory.- Returns:
- context sensitivity export directory
-
getCommunitySensitivityExportDirectory
Get community VCS sensitivity export directory.- Returns:
- community sensitivity export directory
-
getSensitivityExport
public static SensitivityExportStorage getSensitivityExport(String name, CodeSourceStorage.Location... location) Retourne le storage pour l'export demandé.- Parameters:
name
- le nom de la export souhaitéelocation
- location to open storage file- Returns:
- Le storage pour l'export
-
createSensitivityExport
public static SensitivityExportStorage createSensitivityExport(String name, CodeSourceStorage.Location location) Create new sensitivity export.- Parameters:
name
- new sensitivity export to createlocation
- location to sensitivity export storage file- Returns:
- new sensitivity export storage
-
getSensitivityExportNames
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
- Throws:
VCSException
-