public class ExportStorage extends JavaSourceStorage
ExportInfo
(appartenant au module exports).
Created: 18 août 2005 15:07:36 CESTCodeSourceStorage.Location
Modifier and Type | Field and Description |
---|---|
static String |
EXPORT_PATH |
static String |
EXPORT_TEMPLATE
Template freemarker pour les scripts d'export .
|
protected static Set<StorageChangeListener> |
storageListeners |
PARAM_PREFIX
content, lastContentLength, lastContentUpdate, name
file, root
Modifier | Constructor and Description |
---|---|
protected |
ExportStorage(File rootSrc,
File directory,
String name)
Constructeur.
|
Modifier and Type | Method and Description |
---|---|
static void |
addStorageListener(StorageChangeListener storageListener) |
static void |
checkout() |
static ExportStorage |
createExport(String name,
CodeSourceStorage.Location location)
Create new export.
|
static File |
getCommunityExportDirectory()
Get community VCS export directory.
|
String |
getDescription()
Be ware this method require to instantiate a ExportInfo, so
it would be better to call as often as possible.
|
static ExportStorage |
getExport(String name,
CodeSourceStorage.Location... location)
Retourne le storage pour l'export demandée
|
static File |
getExportDirectory()
Get context (official VCS) export directory.
|
static List<String> |
getExportNames()
Retourne la liste des noms de toutes les régions disponible en local
|
String |
getPackage()
Get package name where script should be declared.
|
static void |
registerWatcher() |
compile, doJavadoc, getCodeClass, getFieldDoc, getFQN, getName, getNewInstance, getParamAsString, getParameterDoc, getParameterNames, getParameterNames, getParameterType, getParameterValue, setParameterValue
exists, getContent, getFiles, getName, nonEmptyLocation, prepare, reload, setContent, setContent
add, checkout, commit, delete, diff, getCommunityDatabaseDirectory, getCommunityVCS, getContextDatabaseDirectory, getCurrentVCS, getCurrentVCS, getFile, getFiles, getRemoteStorageNames, getRoot, getStorageNames, getVCS, isOnRemote, isUpToDate, isVersionnableFile, registerWatcher, update
public static final String EXPORT_PATH
public static final String EXPORT_TEMPLATE
protected static Set<StorageChangeListener> storageListeners
public static void addStorageListener(StorageChangeListener storageListener)
public static void registerWatcher()
public String getPackage()
JavaSourceStorage
getPackage
in class JavaSourceStorage
public static File getExportDirectory()
public static File getCommunityExportDirectory()
public static ExportStorage getExport(String name, CodeSourceStorage.Location... location)
name
- le nom de l'export souhaitéelocation
- location to open storage filepublic static ExportStorage createExport(String name, CodeSourceStorage.Location location)
name
- new export to createlocation
- location to create storage filepublic static List<String> getExportNames()
public static void checkout() throws VCSException
VCSException
public String getDescription()
getDescription
in class JavaSourceStorage
Doc
Copyright © 1999–2020 CodeLutin. All rights reserved.