Package org.openl.rules.repository.api
Class Features
- java.lang.Object
-
- org.openl.rules.repository.api.Features
-
public class Features extends Object
Example of usage: if (repository.supports().branches()) return ((BranchRepository) repository).getBranch();- See Also:
BranchRepository,FolderRepository,FeaturesBuilder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanbranches()If true, repository can be casted toBranchRepositorybooleanfolders()If true, repository can be casted toFolderRepositorybooleanisLocal()If true, repository located in local file system and doesn't support "/deploy" as base pathbooleanmappedFolders()If true: Repository where each project is mapped to its own Folder.booleanuniqueFileId()If true, repository can return unique id for each file (typically it's a hash)booleanversions()If true, repository can have historic versions.
-
-
-
Method Detail
-
folders
public boolean folders()
If true, repository can be casted toFolderRepository
-
mappedFolders
public boolean mappedFolders()
If true: Repository where each project is mapped to its own Folder. It means that each external folder has it's own internal folder. This repository can manage this mapping. If false: Repository has flat structure. Every project is located inside a single folder.
-
branches
public boolean branches()
If true, repository can be casted toBranchRepository
-
versions
public boolean versions()
If true, repository can have historic versions. If false, repository is not versionable.
-
uniqueFileId
public boolean uniqueFileId()
If true, repository can return unique id for each file (typically it's a hash)
-
isLocal
public boolean isLocal()
If true, repository located in local file system and doesn't support "/deploy" as base path
-
-