public class RuleStorage extends JavaSourceStorage implements Docable
Rule (package rules)
Created: 17 août 2005 11:11:51 CESTCodeSourceStorage.Location| Modifier and Type | Field and Description |
|---|---|
static String |
RULE_PATH |
static String |
RULE_TEMPLATE
Template freemarker pour les regles.
|
PARAM_PREFIXcontent, lastContentLength, lastContentUpdate, namechangeListeners, file, root| Modifier | Constructor and Description |
|---|---|
protected |
RuleStorage(File rootSrc,
File directory,
String name)
Contruit un nouveau rule storage
|
| Modifier and Type | Method and Description |
|---|---|
static void |
checkout() |
static RuleStorage |
createRule(String name,
CodeSourceStorage.Location location)
Create new rule.
|
static File |
getCommunityRuleDirectory()
Get community VCS rule directory.
|
String |
getDescription()
Be ware this method require to instanciate a Rule, so
it would be better to call as often as possible.
|
static List<String> |
getNewRemoteRuleNames()
Retourne la liste des noms de toutes les régions disponible sur le
serveur VCS qui ne sont pas encore en local
|
Rule |
getNewRuleInstance()
Retourne une nouvelle instance de la regle.
|
static List<String> |
getNewRuleNames()
Retourne la liste des noms de toutes les régions disponible en local qui
ne sont pas encore sur le serveur VCS
|
static List<String> |
getRemoteRuleNames()
Retourne la liste des noms de toutes les régions disponible sur le
serveur VCS
|
static RuleStorage |
getRule(String name,
CodeSourceStorage.Location... location)
Retourne le storage pour la regle demandée
|
static File |
getRuleDirectory()
Get context (official VCS) rule directory.
|
static List<String> |
getRuleNames()
Retourne le nom de toutes les regles existantes pour cette region
|
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, updateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFieldDocpublic static final String RULE_PATH
public static final String RULE_TEMPLATE
public static File getRuleDirectory()
public static File getCommunityRuleDirectory()
public static List<String> getRuleNames()
public static RuleStorage getRule(String name, CodeSourceStorage.Location... location)
name - le nom de la regle souhaitéelocation - location to open storage filepublic static RuleStorage createRule(String name, CodeSourceStorage.Location location)
name - new rule to createlocation - location to rule storage filepublic Rule getNewRuleInstance() throws IsisFishException
IsisFishException - if any exception while instanciationpublic static void checkout()
throws VCSException
VCSExceptionpublic static List<String> getNewRuleNames()
public static List<String> getRemoteRuleNames()
public static List<String> getNewRemoteRuleNames()
public String getDescription()
getDescription in interface DocablegetDescription in class JavaSourceStorageDoc,
DocableCopyright © 1999–2013 CodeLutin. All rights reserved.