@Deprecated public class UploadablePluginBuilder extends Object
Constructor and Description |
---|
UploadablePluginBuilder(String pluginKey,
String pluginName)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
UploadablePluginBuilder |
addClass(Class clazz)
Deprecated.
Helper method to add the .class file for the given class
|
UploadablePluginBuilder |
addClasspathResource(String resourcePath,
String classPath)
Deprecated.
|
UploadablePluginBuilder |
addFile(String path,
File file)
Deprecated.
|
UploadablePluginBuilder |
addFormattedJava(String className,
String... lines)
Deprecated.
|
UploadablePluginBuilder |
addFormattedResource(String path,
String... lines)
Deprecated.
|
UploadablePluginBuilder |
addJava(String className,
String code)
Deprecated.
|
UploadablePluginBuilder |
addJavaClass(Class<?> clazz)
Deprecated.
Adds the given class, and all its nested classes, including anonymous ones (assuming they follow the $n naming convention).
|
UploadablePluginBuilder |
addPluginInformation(String key,
String name,
String version)
Deprecated.
|
UploadablePluginBuilder |
addPluginInformation(String key,
String name,
String version,
int pluginsVersion)
Deprecated.
|
UploadablePluginBuilder |
addPluginInformation(String key,
String name,
String version,
int pluginsVersion,
Map<String,String> params)
Deprecated.
|
UploadablePluginBuilder |
addResource(String path,
String contents)
Deprecated.
|
UploadablePlugin |
buildUploadablePlugin()
Deprecated.
WARNING: UploadablePlugin may not be completely filled.
|
UploadablePluginBuilder |
manifest(Map<String,String> manifest)
Deprecated.
|
public UploadablePluginBuilder addFormattedJava(String className, String... lines)
public UploadablePluginBuilder addJavaClass(Class<?> clazz) throws IOException
clazz
- the class to addIOException
- if the classfile for the given class (or any of its nested classes) cannot be readpublic UploadablePluginBuilder addJava(String className, String code)
public UploadablePluginBuilder addClass(Class clazz) throws IOException
clazz
- the class identifying the class file to addIOException
public UploadablePluginBuilder manifest(Map<String,String> manifest)
public UploadablePluginBuilder addClasspathResource(String resourcePath, String classPath)
public UploadablePluginBuilder addResource(String path, String contents)
public UploadablePluginBuilder addFormattedResource(String path, String... lines)
public UploadablePluginBuilder addPluginInformation(String key, String name, String version)
public UploadablePluginBuilder addPluginInformation(String key, String name, String version, int pluginsVersion)
public UploadablePluginBuilder addPluginInformation(String key, String name, String version, int pluginsVersion, Map<String,String> params)
public UploadablePluginBuilder addFile(String path, File file) throws IOException
IOException
public UploadablePlugin buildUploadablePlugin()
Copyright © 2003–2018 Atlassian. All rights reserved.