public abstract class MdsCommonRepositoryExtension
extends java.lang.Object
MdsCommonRepository
for other repositories or
products to participate in various sandbox operations such as "refresh" or
"publish". To register an extension, follow the Java service provider
pattern and register the subclasses in META-INF/services
.Modifier and Type | Field and Description |
---|---|
protected ADFLogger |
_logger
The default logger instance.
|
Constructor and Description |
---|
MdsCommonRepositoryExtension()
Constrcuts an extension object.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
exceptionThrown(java.lang.Throwable t)
Invoked when an exception is thrown by any of the methods in this
extension except this method.
|
java.util.Set<java.lang.String> |
getExcludedDocumentPaths(Sandbox sandbox,
java.lang.String mdsSandboxName)
Returns the set of document paths that should be excluded during refresh
or publish.
|
boolean |
publishCompleted(Sandbox sandbox,
java.lang.String mdsSandboxName)
Invoked after the MDS branch of a unified sandbox is published successfully.
|
boolean |
refreshCompleted(Sandbox sandbox,
java.lang.String mdsSandboxName)
Invoked after the MDS branch of a unified sandbox is refreshed successfully.
|
protected final ADFLogger _logger
public MdsCommonRepositoryExtension()
public java.util.Set<java.lang.String> getExcludedDocumentPaths(Sandbox sandbox, java.lang.String mdsSandboxName)
sandbox
- the unified sandbox that is being refreshed or publishedmdsSandboxName
- the name of the MDS sandboxpublic boolean refreshCompleted(Sandbox sandbox, java.lang.String mdsSandboxName)
sandbox
- the unified sandbox being refreshedmdsSandboxName
- the name of the MDS sandboxtrue
if this method has made changes to the sandboxpublic boolean publishCompleted(Sandbox sandbox, java.lang.String mdsSandboxName)
sandbox
- the unified sandbox being publishedmdsSandboxName
- the name of the MDS sandboxtrue
if this method has made changes to mainlinepublic abstract void exceptionThrown(java.lang.Throwable t)
t
- the error thrown