public static class ChangeHint.Provider
extends java.lang.Object
Constructor and Description |
---|
Provider()
Constructs a provider that returns
null as the default
hint. |
Provider(ChangeHint defaultHint)
Constructs a provider that returns the given default hint.
|
Modifier and Type | Method and Description |
---|---|
ChangeHint |
getChangeHint(Sandbox sandbox,
java.lang.String repositoryId)
Returns the hint for a repository.
|
protected ChangeHint |
getDefaultChangeHint(Sandbox sandbox)
Returns the default hint.
|
public Provider()
null
as the default
hint.public Provider(ChangeHint defaultHint)
defaultHint
- the default hintprotected ChangeHint getDefaultChangeHint(Sandbox sandbox)
sandbox
- the sandbox that needs the hint; null
if the
change hint is not for a sandboxpublic ChangeHint getChangeHint(Sandbox sandbox, java.lang.String repositoryId)
getDefaultChangeHint
.sandbox
- the sandbox that needs the hint; null
if the
change hint is not for a sandboxrepositoryId
- the ID of the repositoryjava.lang.IllegalArgumentException
- if the given repository ID is nullgetDefaultChangeHint(oracle.adf.share.sandbox.Sandbox)