|
||||||||||
| 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
|
java.lang.String |
name
Fully qualified name of this adjunct that follows the dot notation. |
java.lang.String |
packageName
Just the package name portion of slashedName. |
java.util.List<java.lang.String> |
required
List of fully qualified adjunct names that are required before this adjunct. |
java.lang.String |
slashedName
The same as name but uses '/' separator. |
| Constructor Summary | |
|---|---|
Adjunct(AdjunctManager manager,
java.lang.String name,
java.lang.ClassLoader classLoader)
Builds an adjunct. |
|
| Method Summary | |
|---|---|
java.lang.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)
|
| 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 java.lang.String name
public final java.lang.String slashedName
name but uses '/' separator.
public final java.lang.String packageName
slashedName. No trailing '/'.
public final java.util.List<java.lang.String> required
| Constructor Detail |
|---|
public Adjunct(AdjunctManager manager,
java.lang.String name,
java.lang.ClassLoader classLoader)
throws java.io.IOException
name - Fully qualified name of the adjunct.classLoader - This is where adjuncts are loaded from.
java.io.IOException| Method Detail |
|---|
public java.lang.String getPackageUrl()
public boolean has(Adjunct.Kind k)
public void write(StaplerRequest req,
org.apache.commons.jelly.XMLOutput out)
throws org.xml.sax.SAXException,
java.io.IOException
org.xml.sax.SAXException
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||