public class SimulationPlanStorage extends JavaSourceStorage
Gere les fichiers VCS de type SimulationPlan (package simulationplans)
Created: 17 août 2005 11:11:51 CEST
CodeSourceStorage.Location| Modifier and Type | Field and Description |
|---|---|
protected static Map<String,SimulationPlanStorage> |
plansCache
Instance cache.
|
static String |
SIMULATION_PLAN_PATH |
static String |
SIMULATION_PLAN_TEMPLATE
Template freemarker pour les plans de simulation .
|
PARAM_PREFIXcontent, lastContentLength, lastContentUpdate, namechangeListeners, file, root| Modifier | Constructor and Description |
|---|---|
protected |
SimulationPlanStorage(File rootSrc,
File directory,
String name)
Construit un nouveau SimulationPlan storage.
|
| Modifier and Type | Method and Description |
|---|---|
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
|
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.
|
String |
getPackage()
Get package name where script should be declared.
|
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
|
compile, doJavadoc, getCodeClass, getFieldDoc, getFieldDoc, getFQN, getName, getNewInstance, getParamAsString, getParameterDoc, getParameterNames, getParameterNames, getParameterType, getParameterValue, setParameterValueexists, getContent, getFiles, getName, nonEmptyLocation, prepare, reload, setContent, setContentadd, addStorageChangeListener, checkout, commit, delete, diff, fireDataChanged, getCommunityDatabaseDirectory, getCommunityVCS, getContextDatabaseDirectory, getCurrentVCS, getCurrentVCS, getFile, getFiles, getRemoteStorageNames, getRoot, getStorageNames, getVCS, isOnRemote, isUpToDate, isVersionnableFile, removeStorageChangeListener, updatepublic static final String SIMULATION_PLAN_PATH
public static final String SIMULATION_PLAN_TEMPLATE
protected static Map<String,SimulationPlanStorage> plansCache
public String getPackage()
JavaSourceStoragegetPackage in class JavaSourceStoragepublic 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 filepublic static SimulationPlanStorage createSimulationPlan(String name, CodeSourceStorage.Location location)
name - new simulation plan to createlocation - location to simulation plan storage filepublic 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 class JavaSourceStorageDocCopyright © 1999–2015 CodeLutin. All rights reserved.