|
||||||||||
| 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.SimulationPlanStorage
public class SimulationPlanStorage
Class permettant de representer un plan de simulation. Un plan de simulation est un fichier Java que l'on compile si besoin.
Gere les fichiers VCS de typeSimulationPlan (package simulationplans)
Created: 17 août 2005 11:11:51 CEST
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class fr.ifremer.isisfish.datastore.CodeSourceStorage |
|---|
CodeSourceStorage.Location |
| Field Summary | |
|---|---|
static String |
SIMULATION_PLAN_PATH
|
static String |
SIMULATION_PLAN_TEMPLATE
Template freemarker pour les plans de simulation . |
| 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 |
SimulationPlanStorage(File rootSrc,
File directory,
String name)
Construit un nouveau SimulationPlan storage. |
| Method Summary | |
|---|---|
static void |
checkout()
|
static SimulationPlanStorage |
createSimulationPlan(String name,
CodeSourceStorage.Location location)
Create new simulation plan. |
static File |
getCommunitySimulationPlanDirectory()
Get community VCS simulation plan directory. |
String |
getDescription()
Be ware this method require to instanciate a SimulationPlan, so it would be better to call as often as possible. |
static List<String> |
getNewRemoteSimulationPlanNames()
Retourne la liste des noms de tous les plans disponibles sur le serveur VCS qui ne sont pas encore en local |
SimulationPlan |
getNewSimulationPlanInstance()
Retourne une nouvelle instance du plan. |
static List<String> |
getNewSimulationPlanNames()
Retourne la liste des noms de tous les plans disponibles en local qui ne sont pas encore sur le serveur VCS. |
static List<String> |
getRemoteSimulationPlanNames()
Retourne la liste des noms de tous les plans disponibles sur le serveur VCS. |
static SimulationPlanStorage |
getSimulationPlan(String name,
CodeSourceStorage.Location... location)
Retourne le storage pour le plan demandé. |
static File |
getSimulationPlanDirectory()
Get context (official VCS) simulation plan directory. |
static List<String> |
getSimulationPlanNames()
Retourne le nom de toutes les plans existantes |
| Methods inherited from class fr.ifremer.isisfish.datastore.JavaSourceStorage |
|---|
compile, doJavadoc, getCodeClass, 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 SIMULATION_PLAN_PATH
public static final String SIMULATION_PLAN_TEMPLATE
| Constructor Detail |
|---|
protected SimulationPlanStorage(File rootSrc,
File directory,
String name)
rootSrc - repertoire root de stockage des plansdirectory - le repertoire ou devrait se trouver le planname - le nom du plan| Method Detail |
|---|
public static File getSimulationPlanDirectory()
public static File getCommunitySimulationPlanDirectory()
public static List<String> getSimulationPlanNames()
public static SimulationPlanStorage getSimulationPlan(String name,
CodeSourceStorage.Location... location)
name - le nom du plan souhaitélocation - location to open storage file
public static SimulationPlanStorage createSimulationPlan(String name,
CodeSourceStorage.Location location)
name - new simulation plan to createlocation - location to simulation plan storage file
public SimulationPlan getNewSimulationPlanInstance()
throws IsisFishException
IsisFishException - s'il y a un probleme d'instanciation
public static void checkout()
throws VCSException
VCSExceptionpublic static List<String> getNewSimulationPlanNames()
public static List<String> getRemoteSimulationPlanNames()
public static List<String> getNewRemoteSimulationPlanNames()
throws VCSException
VCSExceptionpublic String getDescription()
getDescription in interface DocablegetDescription in class JavaSourceStorageDoc,
Docable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||