Package oracle.rules.sdk2.repository
Class MDSSandbox
java.lang.Object
oracle.rules.sdk2.repository.MDSSandbox
Manage sandboxes and get access to metadata in a sandbox.
-
Method Summary
Modifier and TypeMethodDescriptionvoidabortSandbox(String sandboxName) Abort the changes in the sandbox.voidcommitSandbox(String sandboxName) Commit the changes in the sandbox so that they are visible outside the sandbox.voidcreateSandbox(String sandboxName) Create a new sandbox.Get a list of the names of existing sandboxes.
-
Method Details
-
listSandboxes
Get a list of the names of existing sandboxes.- Returns:
- the list of sandbox names
- Throws:
RepositoryException- if an error occurs.
-
createSandbox
Create a new sandbox. On successful creation, the specified sandbox name is set in this SandboxAccess instance.- Parameters:
sandboxName- the name of the new sandbox.- Throws:
RepositoryException- if an error occurs.
-
commitSandbox
Commit the changes in the sandbox so that they are visible outside the sandbox. On a successful commit, the sandbox is destroyed.- Throws:
RepositoryException- if an error occurs.
-
abortSandbox
Abort the changes in the sandbox. This destroys the sandbox.- Throws:
RepositoryException- if an error occurs.
-