public class Adjunct extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Adjunct.Kind |
Modifier and Type | Field and Description |
---|---|
AdjunctManager |
manager |
String |
name
Fully qualified name of this adjunct that follows the dot notation.
|
String |
packageName
Just the package name portion of
slashedName . |
List<String> |
required
List of fully qualified adjunct names that are required before this adjunct.
|
String |
slashedName
The same as
name but uses '/' separator. |
Constructor and Description |
---|
Adjunct(AdjunctManager manager,
String name,
ClassLoader classLoader)
Builds an adjunct.
|
Modifier and Type | Method and Description |
---|---|
String |
getPackageUrl()
Obtains the absolute URL that points to the package of this adjunct.
|
boolean |
has(Adjunct.Kind k) |
void |
write(StaplerRequest req,
org.apache.commons.jelly.XMLOutput out) |
public final AdjunctManager manager
public final String name
public final String packageName
slashedName
. No trailing '/'.public Adjunct(AdjunctManager manager, String name, ClassLoader classLoader) throws IOException
name
- Fully qualified name of the adjunct.classLoader
- This is where adjuncts are loaded from.IOException
public String getPackageUrl()
public boolean has(Adjunct.Kind k)
public void write(StaplerRequest req, org.apache.commons.jelly.XMLOutput out) throws SAXException, IOException
SAXException
IOException
Copyright © 2015. All rights reserved.