Package com.atlassian.plugin
Class XmlPluginArtifact
java.lang.Object
com.atlassian.plugin.XmlPluginArtifact
- All Implemented Interfaces:
PluginArtifact
An XML plugin artifact that is just the atlassian-plugin.xml file
- Since:
- 2.1.0
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.atlassian.plugin.PluginArtifact
PluginArtifact.HasExtraModuleDescriptors -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanbooleandoesResourceExist(String name) Always returns false, since it doesn't make sense for an XML artifactgetName()getResourceAsStream(String name) Always returns null, since it doesn't make sense for an XML artifacttoFile()
-
Constructor Details
-
XmlPluginArtifact
-
-
Method Details
-
doesResourceExist
Always returns false, since it doesn't make sense for an XML artifact- Specified by:
doesResourceExistin interfacePluginArtifact
-
getResourceAsStream
Always returns null, since it doesn't make sense for an XML artifact- Specified by:
getResourceAsStreamin interfacePluginArtifact
-
getName
- Specified by:
getNamein interfacePluginArtifact
-
getInputStream
- Specified by:
getInputStreamin interfacePluginArtifact- Returns:
- a buffered file input stream of the file on disk. This input stream is not resettable.
-
toFile
- Specified by:
toFilein interfacePluginArtifact
-
containsJavaExecutableCode
public boolean containsJavaExecutableCode()- Specified by:
containsJavaExecutableCodein interfacePluginArtifact
-
containsSpringContext
public boolean containsSpringContext()- Specified by:
containsSpringContextin interfacePluginArtifact
-
getReferenceMode
- Specified by:
getReferenceModein interfacePluginArtifact
-