org.kohsuke.stapler.framework.adjunct
Class Adjunct

java.lang.Object
  extended by org.kohsuke.stapler.framework.adjunct.Adjunct

public class Adjunct
extends java.lang.Object

In-memory cache of fully inlined "adjunct" which is a pair of CSS and JavaScript.

Author:
Kohsuke Kawaguchi

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.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
 boolean has(Adjunct.Kind k)
           
 void write(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

manager

public final AdjunctManager manager

name

public final java.lang.String name
Fully qualified name of this adjunct that follows the dot notation.


slashedName

public final java.lang.String slashedName
The same as name but uses '/' separator.


required

public final java.util.List<java.lang.String> required
List of fully qualified adjunct names that are required before this adjunct.

Constructor Detail

Adjunct

public Adjunct(AdjunctManager manager,
               java.lang.String name,
               java.lang.ClassLoader classLoader)
        throws java.io.IOException
Builds an adjunct.

Parameters:
name - Fully qualified name of the adjunct.
classLoader - This is where adjucts are loaded.
Throws:
java.io.IOException
Method Detail

has

public boolean has(Adjunct.Kind k)

write

public void write(org.apache.commons.jelly.XMLOutput out)
           throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException


Copyright © 2008. All Rights Reserved.