T
- plug-in element owner typepublic abstract class MockPluginElement<T extends PluginElement<T>> extends MockIdentity implements PluginElement<T>
Constructor and Description |
---|
MockPluginElement() |
Modifier and Type | Method and Description |
---|---|
PluginDescriptor |
getDeclaringPluginDescriptor()
Returns plug-in descriptor, this element belongs to.
|
PluginFragment |
getDeclaringPluginFragment()
Returns descriptor of plug-in fragment that contributes this element.
|
java.lang.String |
getDocsPath() |
Documentation<T> |
getDocumentation() |
MockPluginElement<T> |
setDeclaringPluginDescriptor(PluginDescriptor value) |
MockPluginElement<T> |
setDeclaringPluginFragment(PluginFragment value) |
MockPluginElement<T> |
setDocsPath(java.lang.String value) |
MockPluginElement<T> |
setDocumentation(Documentation<T> value) |
getId, setId
public PluginDescriptor getDeclaringPluginDescriptor()
PluginElement
null
.getDeclaringPluginDescriptor
in interface PluginElement<T extends PluginElement<T>>
PluginElement.getDeclaringPluginDescriptor()
public MockPluginElement<T> setDeclaringPluginDescriptor(PluginDescriptor value)
value
- the declaring plug-in descriptor to setpublic PluginFragment getDeclaringPluginFragment()
PluginElement
null
, if element is contributed by
plug-in directly.getDeclaringPluginFragment
in interface PluginElement<T extends PluginElement<T>>
PluginElement.getDeclaringPluginFragment()
public MockPluginElement<T> setDeclaringPluginFragment(PluginFragment value)
value
- the declaring plug-in fragment to setpublic java.lang.String getDocsPath()
getDocsPath
in interface Documentable<T extends PluginElement<T>>
Documentable.getDocsPath()
public MockPluginElement<T> setDocsPath(java.lang.String value)
value
- the docs path to setpublic Documentation<T> getDocumentation()
getDocumentation
in interface Documentable<T extends PluginElement<T>>
null
if there is no documentation providedDocumentable.getDocumentation()
public MockPluginElement<T> setDocumentation(Documentation<T> value)
value
- the documentation to setCopyright © 2004-2007 Dmitry Olshansky. All Rights Reserved.