|
||||||||||
| 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.ScriptStorage
public class ScriptStorage
Gestion des fichers CVS de type scripts (appartenant au module scripts). Created: 18 août 2005 15:07:36 CEST
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class fr.ifremer.isisfish.datastore.CodeSourceStorage |
|---|
CodeSourceStorage.Location |
| Field Summary | |
|---|---|
static String |
SCRIPT_PATH
|
static String |
SCRIPT_TEMPLATE
Template freemarker pour les scripts. |
| 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 |
ScriptStorage(File rootSrc,
File directory,
String name)
Constructeur |
| Method Summary | |
|---|---|
static void |
checkout()
|
static ScriptStorage |
createScript(String name,
CodeSourceStorage.Location location)
Create new script. |
static File |
getCommunityScriptDirectory()
Get community VCS script directory. |
static List<String> |
getNewRemoteScriptNames()
Retourne la liste des noms de toutes les régions disponible sur le serveur CVS qui ne sont pas encore en local |
Object |
getNewScriptInstance()
Retourne une nouvelle instance de la regle. |
static List<String> |
getNewScriptNames()
Retourne la liste des noms de toutes les régions disponible en local qui ne sont pas encore sur le serveur CVS |
static List<String> |
getRemoteScriptNames()
Retourne la liste des noms de toutes les régions disponible sur le serveur CVS |
static ScriptStorage |
getScript(String name,
CodeSourceStorage.Location... location)
Retourne le storage pour la regle demandée |
static File |
getScriptDirectory()
Get context (official VCS) script directory. |
static List<String> |
getScriptNames()
Retourne la liste des noms de toutes les régions disponible en local |
| Methods inherited from class fr.ifremer.isisfish.datastore.JavaSourceStorage |
|---|
compile, doJavadoc, getCodeClass, getDescription, getFieldDoc, getFieldDoc, getFQN, getName, getNewInstance, getParamAsString, getParameterDoc, getParameterNames, getParameterNames, 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, addStorageChangeListener, checkout, commit, delete, diff, fireDataChanged, getCommunityDatabaseDirectory, getCommunityVCS, getContextDatabaseDirectory, getCurrentVCS, getCurrentVCS, 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 SCRIPT_PATH
public static final String SCRIPT_TEMPLATE
| Constructor Detail |
|---|
protected ScriptStorage(File rootSrc,
File directory,
String name)
rootSrc - le repertoire root de stockagedirectory - le repertoire des scriptsname - le nom du script| Method Detail |
|---|
public static File getScriptDirectory()
public static File getCommunityScriptDirectory()
public Object getNewScriptInstance()
throws IsisFishException
IsisFishException
public static ScriptStorage getScript(String name,
CodeSourceStorage.Location... location)
name - le nom de la regle souhaitéelocation - location to open storage file
public static ScriptStorage createScript(String name,
CodeSourceStorage.Location location)
name - new script to createlocation - location to script storage file
public static void checkout()
throws VCSException
VCSExceptionpublic static List<String> getScriptNames()
public static List<String> getNewScriptNames()
public static List<String> getRemoteScriptNames()
public static List<String> getNewRemoteScriptNames()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||