|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.ifremer.isisfish.datastore.VersionStorage
fr.ifremer.isisfish.datastore.CodeSourceStorage
fr.ifremer.isisfish.datastore.JavaSourceStorage
fr.ifremer.isisfish.datastore.ExportStorage
public class ExportStorage
Gestion des fichers VCS de type Export
(appartenant au module exports).
Created: 18 août 2005 15:07:36 CEST
| Field Summary | |
|---|---|
static String |
EXPORT_PATH
|
static String |
EXPORT_TEMPLATE
Template freemarker pour les scripts d'export . |
| 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 |
|---|
changeListeners, file, root |
| Constructor Summary | |
|---|---|
protected |
ExportStorage(File rootSrc,
File directory,
String name)
Constructeur. |
| Method Summary | |
|---|---|
static void |
checkout()
|
Doc |
getClassDoc()
Class documentation (if any). |
String |
getDescription()
Be ware this method require to instanciate a Export, so it would be better to call as often as possible. |
static ExportStorage |
getExport(String name)
Retourne le storage pour la regle demandée |
static File |
getExportDirectory()
|
static List<String> |
getExportNames()
Retourne la liste des noms de toutes les régions disponible en local |
Doc |
getFieldDoc(String fieldName)
Field documentation (if any). |
Export |
getNewExportInstance()
Retourne une nouvelle instance de la regle. |
Doc |
getParamDoc(String paramName)
|
Map<String,Class<?>> |
getParameterNames()
Permet de recuperer les parametres de l'export. |
static Map<String,Class<?>> |
getParameterNames(Export export)
Recherche par introspection tous les parametres de la classe commencant par JavaSourceStorage.PARAM_PREFIX. |
static Object |
getParameterValue(Export export,
String name)
Donne la valeur d'un parametre par introspection. |
static void |
setParameterValue(Export export,
String name,
Object value)
Modifie la valeur d'un attribut par introspection. |
| Methods inherited from class fr.ifremer.isisfish.datastore.JavaSourceStorage |
|---|
compile, doJavadoc, getCodeClass, getFQN, getName, getNewInstance, getParameterDoc |
| Methods inherited from class fr.ifremer.isisfish.datastore.CodeSourceStorage |
|---|
diff, exists, getContent, getFiles, getName, prepare, reload, setContent |
| Methods inherited from class fr.ifremer.isisfish.datastore.VersionStorage |
|---|
add, addStorageChangeListener, checkout, commit, delete, fireDataChanged, getContextDatabaseCacheKey, getContextDatabaseDirectory, getFile, getFiles, getRemoteStorageNames, getRoot, getStorageNames, getVCS, isOnRemote, isUpToDate, isVersionnableFile, removeStorageChangeListener, update |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String EXPORT_PATH
public static final String EXPORT_TEMPLATE
| Constructor Detail |
|---|
protected ExportStorage(File rootSrc,
File directory,
String name)
rootSrc - le repertoire root de stockage des exportsdirectory - le repertoire de l'exportname - le nom de l'export| Method Detail |
|---|
public static File getExportDirectory()
public Export getNewExportInstance()
throws IsisFishException
IsisFishExceptionpublic static ExportStorage getExport(String name)
name - le nom de la regle souhaitée
public static List<String> getExportNames()
public static void checkout()
throws VCSException
VCSExceptionpublic Doc getClassDoc()
Docable
getClassDoc in interface DocableDocHelper,
Doc,
Docablepublic Doc getFieldDoc(String fieldName)
Docable
getFieldDoc in interface DocablefieldName - name of the field to inspect
DocHelper,
Doc,
Docablepublic String getDescription()
getDescription in interface DocableDoc,
Docablepublic Doc getParamDoc(String paramName)
paramName - the name of the param to inspect
public Map<String,Class<?>> getParameterNames()
throws IsisFishException
IsisFishException - s'il est impossible de retourner une map
convenablepublic static Map<String,Class<?>> getParameterNames(Export export)
JavaSourceStorage.PARAM_PREFIX.
export - the export to inspect
public static Object getParameterValue(Export export,
String name)
throws IsisFishException
name - le nom du parametreexport - the export to inspect
IsisFishException - if any exception
public static void setParameterValue(Export export,
String name,
Object value)
throws IsisFishException
name - le nom de l'attributvalue - la valeur de l'attributexport - the export to inspect
IsisFishException - if any exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||