|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openl.rules.repository.NullRepository
public class NullRepository
Stub to use when repository cannot be initialized.
| Constructor Summary | |
|---|---|
NullRepository()
|
|
| Method Summary | |
|---|---|
RDeploymentDescriptorProject |
createDDProject(String name)
|
RProject |
createProject(String name)
Creates a project in the repository. |
protected void |
fail()
|
RDeploymentDescriptorProject |
getDDProject(String name)
|
List<RDeploymentDescriptorProject> |
getDDProjects()
|
String |
getName()
Returns name of the repository. |
RProject |
getProject(String name)
Gets project by name. |
List<RProject> |
getProjects()
Gets list of projects from the repository. |
List<RProject> |
getProjects4Deletion()
Gets list of projects from the repository that are marked for deletion. |
boolean |
hasDDProject(String name)
|
boolean |
hasProject(String name)
Checks whether project with given name exists in the repository. |
void |
release()
Releases resources allocated by this Rules Repository instance. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NullRepository()
| Method Detail |
|---|
public RDeploymentDescriptorProject createDDProject(String name)
throws RRepositoryException
createDDProject in interface RRepositoryRRepositoryException
public RProject createProject(String name)
throws RRepositoryException
RRepository
createProject in interface RRepositoryname - name of new project
RRepositoryException - if failed
protected void fail()
throws RRepositoryException
RRepositoryException
public RDeploymentDescriptorProject getDDProject(String name)
throws RRepositoryException
getDDProject in interface RRepositoryRRepositoryException
public List<RDeploymentDescriptorProject> getDDProjects()
throws RRepositoryException
getDDProjects in interface RRepositoryRRepositoryExceptionpublic String getName()
RRepository
getName in interface RRepository
public RProject getProject(String name)
throws RRepositoryException
RRepository
getProject in interface RRepositoryRRepositoryException - if failed or no project with specified name
public List<RProject> getProjects()
throws RRepositoryException
RRepository
getProjects in interface RRepositoryRRepositoryException - if failed
public List<RProject> getProjects4Deletion()
throws RRepositoryException
RRepository
getProjects4Deletion in interface RRepositoryRRepositoryException
public boolean hasDDProject(String name)
throws RRepositoryException
hasDDProject in interface RRepositoryRRepositoryException
public boolean hasProject(String name)
throws RRepositoryException
RRepository
hasProject in interface RRepositorytrue if project with such name exists
RRepositoryExceptionpublic void release()
RRepository
release in interface RRepository
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||