|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kohsuke.stapler.framework.adjunct.Adjunct
public class Adjunct
In-memory cache of fully inlined "adjunct" which is a pair of CSS and JavaScript.
| Nested Class Summary | |
|---|---|
static class |
Adjunct.Kind
|
| Field Summary | |
|---|---|
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 Summary | |
|---|---|
Adjunct(AdjunctManager manager,
String name,
ClassLoader classLoader)
Builds an adjunct. |
|
| Method Summary | |
|---|---|
String |
getPackageUrl()
Obtains the absolute URL that points to the package of this adjunct. |
boolean |
has(Adjunct.Kind k)
|
void |
write(org.kohsuke.stapler.StaplerRequest req,
org.apache.commons.jelly.XMLOutput out)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public final AdjunctManager manager
public final String name
public final String slashedName
name but uses '/' separator.
public final String packageName
slashedName. No trailing '/'.
public final List<String> required
| Constructor Detail |
|---|
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| Method Detail |
|---|
public String getPackageUrl()
public boolean has(Adjunct.Kind k)
public void write(org.kohsuke.stapler.StaplerRequest req,
org.apache.commons.jelly.XMLOutput out)
throws SAXException,
IOException
SAXException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||