|
| Foundation |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
com.sas.services.storedprocess.metadata.SourceCodeRepositoryUtil
public class SourceCodeRepositoryUtil
A utility class that provides methods to manipulate source code repositories.
A source code repository is a location on the application server that contains
stored process source code and is represented by DirectoryInterface. Source code
repositories are linked to a ServerContextInterface. This class is used by constructing
a SourceCodeRepositoryUtil with either a LogicalServerInterface
or a ServerContextInterface of interest and then invoking the
appropriate method(s). Methods exist to obtain a list of source code repositories,
locate an existing source code repository by name and create a new source code repository.
An existing source code repository can be deleted by calling delete() on DirectoryInterface.
| Constructor Summary | |
|---|---|
SourceCodeRepositoryUtil(LogicalServerInterface logicalServer)
Constructs a SourceCodeRepositoryUtil by obtaining the ServerContextInterface from the supplied LogicalServerInterface. |
|
SourceCodeRepositoryUtil(ServerContextInterface serverContext)
Constructs a SourceCodeRepositoryUtil using the supplied ServerContextInterface. |
|
| Method Summary | |
|---|---|
DirectoryInterface |
createSourceCodeRepository(java.lang.String path,
java.lang.String description)
Create a new source code repository. |
java.util.List<DirectoryInterface> |
getSourceCodeRepositories()
Obtain a list of source code repositories. |
DirectoryInterface |
locateSourceCodeRepository(java.lang.String name)
Locate an existing source code repository. |
| Constructor Detail |
|---|
public SourceCodeRepositoryUtil(ServerContextInterface serverContext)
throws java.rmi.RemoteException
java.rmi.RemoteException
public SourceCodeRepositoryUtil(LogicalServerInterface logicalServer)
throws java.rmi.RemoteException,
ServiceException
java.rmi.RemoteException
ServiceException| Method Detail |
|---|
public DirectoryInterface createSourceCodeRepository(java.lang.String path,
java.lang.String description)
throws ServiceException,
java.rmi.RemoteException
path - of the source code repository to be createddescription - an optional description of the source code repository to be created
DirectoryInterface corresponding to the created source code repository
ServiceException - if a source code repository of the same name exists or if there is a metadata access exception
java.rmi.RemoteException
public DirectoryInterface locateSourceCodeRepository(java.lang.String name)
throws ServiceException,
java.rmi.RemoteException
name - of the source code repository to be located
DirectoryInterface corresponding to the located source code repository; null, if not found
ServiceException - if there is a metadata access exception
java.rmi.RemoteException
public java.util.List<DirectoryInterface> getSourceCodeRepositories()
throws ServiceException,
java.rmi.RemoteException
DirectoryInterface.
ServiceException - if there is a metadata access exception
java.rmi.RemoteException
|
| Foundation |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||