public class ResultInfoStorage extends JavaSourceStorage
CodeSourceStorage.Location
Modifier and Type | Field and Description |
---|---|
static String |
RESULT_INFO_PATH |
static String |
RESULT_INFO_TEMPLATE
Template freemarker pour les noms de resultats.
|
protected static Map<String,ResultInfoStorage> |
resultInfosCache
Instance cache.
|
protected static Set<StorageChangeListener> |
storageListeners |
PARAM_PREFIX
content, lastContentLength, lastContentUpdate, name
file, root
Modifier | Constructor and Description |
---|---|
protected |
ResultInfoStorage(File rootSrc,
File directory,
String name)
Contruit un nouveau resultInfo storage
|
Modifier and Type | Method and Description |
---|---|
static void |
addStorageListener(StorageChangeListener storageListener) |
static void |
checkout() |
static ResultInfoStorage |
createResultInfo(String name,
CodeSourceStorage.Location location)
Create new result name.
|
static File |
getCommunityResultInfoDirectory()
Get community VCS resultInfo directory.
|
String |
getDescription()
Be ware this method require to instanciate a resultInfo, so
it would be better to call as often as possible.
|
static List<String> |
getNewRemoteResultInfoNames()
Retourne la liste des noms de toutes les régions disponible sur le
serveur VCS qui ne sont pas encore en local
|
static List<String> |
getNewResultInfoNames()
Retourne la liste des noms de toutes les resultats 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> |
getRemoteResultInfoNames()
Retourne la liste des noms de toutes les régions disponible sur le
serveur VCS
|
static ResultInfoStorage |
getResultInfo(String name,
CodeSourceStorage.Location... location)
Retourne le storage pour le resultat demandé
|
static File |
getResultInfoDirectory()
Get context (official VCS) resultInfo directory.
|
static List<String> |
getResultInfoNames()
Retourne le nom de toutes les resultats existants pour cette region
|
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 RESULT_INFO_PATH
public static final String RESULT_INFO_TEMPLATE
protected static Map<String,ResultInfoStorage> resultInfosCache
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 getResultInfoDirectory()
public static File getCommunityResultInfoDirectory()
public static List<String> getResultInfoNames()
public static ResultInfoStorage getResultInfo(String name, CodeSourceStorage.Location... location)
name
- le nom du resultat souhaitélocation
- location to open storage filepublic static ResultInfoStorage createResultInfo(String name, CodeSourceStorage.Location location)
name
- new result name to createlocation
- location to result name storage filepublic static void checkout() throws VCSException
VCSException
public static List<String> getNewResultInfoNames()
public static List<String> getRemoteResultInfoNames()
public static List<String> getNewRemoteResultInfoNames()
public String getDescription()
getDescription
in class JavaSourceStorage
Doc
Copyright © 1999–2020 CodeLutin. All rights reserved.