org.openl.rules.repository
Interface RProductionRepository

All Superinterfaces:
RRepository

public interface RProductionRepository
extends RRepository

OpenL projects production repositury, that is the place where OpenL projects are deployed to.


Nested Class Summary
static interface RProductionRepository.SearchParams
           
 
Method Summary
 void addListener(RDeploymentListener listener)
           
 RProductionDeployment createDeployment(String name)
          Creates new deployment in repository.
 Collection<REntity> findNodes(RProductionRepository.SearchParams params)
           
 RProductionDeployment getDeployment(String name)
          Gets deployment by name.
 Collection<String> getDeploymentNames()
          Returns names for all deployments in the repository.
 boolean hasDeployment(String name)
          Checks if a deployment with given name exists in the repository.
 boolean removeListener(RDeploymentListener listener)
           
 
Methods inherited from interface org.openl.rules.repository.RRepository
createDDProject, createProject, getDDProject, getDDProjects, getName, getProject, getProjects, getProjects4Deletion, hasDDProject, hasProject, release
 

Method Detail

addListener

void addListener(RDeploymentListener listener)
                 throws RRepositoryException
Throws:
RRepositoryException

createDeployment

RProductionDeployment createDeployment(String name)
                                       throws RRepositoryException
Creates new deployment in repository.

Parameters:
name - the name of the new deployment
Returns:
newly created deployment
Throws:
RRepositoryException - if the deployment with given name already exists or on an error working with the repository

findNodes

Collection<REntity> findNodes(RProductionRepository.SearchParams params)
                              throws RRepositoryException
Throws:
RRepositoryException

getDeployment

RProductionDeployment getDeployment(String name)
                                    throws RRepositoryException
Gets deployment by name.

Parameters:
name - the name of the deployment
Returns:
the deployment with given name
Throws:
RRepositoryException - on error working with repository

getDeploymentNames

Collection<String> getDeploymentNames()
                                      throws RRepositoryException
Returns names for all deployments in the repository.

Returns:
collection of all deployment names.
Throws:
RRepositoryException - on error working with repository

hasDeployment

boolean hasDeployment(String name)
                      throws RRepositoryException
Checks if a deployment with given name exists in the repository.

Parameters:
name - deployment name
Returns:
if the deployemnt with name name exists
Throws:
RRepositoryException - on error working with the repository

removeListener

boolean removeListener(RDeploymentListener listener)
                       throws RRepositoryException
Throws:
RRepositoryException


Copyright © 2010. All Rights Reserved.