Class CPluginCustomization


  • public class CPluginCustomization
    extends java.lang.Object
    Vendor extension customization contributed from Plugins.
    Author:
    Kohsuke Kawaguchi
    • Field Summary

      Fields 
      Modifier and Type Field Description
      org.w3c.dom.Element element
      The annotation found in a schema (or in an external binding file.) Always non-null.
      org.xml.sax.Locator locator
      The source location where this customization is placed.
    • Constructor Summary

      Constructors 
      Constructor Description
      CPluginCustomization​(org.w3c.dom.Element element, org.xml.sax.Locator locator)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean isAcknowledged()  
      void markAsAcknowledged()
      When a Plugin "uses" this annotation, call this method to mark it.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • element

        public final org.w3c.dom.Element element
        The annotation found in a schema (or in an external binding file.) Always non-null.
      • locator

        public final org.xml.sax.Locator locator
        The source location where this customization is placed.

        When an error is found in this customization, this information should be used to point the user to the source of the problem. Always non-nul.

    • Constructor Detail

      • CPluginCustomization

        public CPluginCustomization​(org.w3c.dom.Element element,
                                    org.xml.sax.Locator locator)
    • Method Detail

      • markAsAcknowledged

        public void markAsAcknowledged()
        When a Plugin "uses" this annotation, call this method to mark it.

        CPluginCustomizations that are not marked will be reporeted as an error to users. This allows us to catch customizations that are not used by anybody.

      • isAcknowledged

        public boolean isAcknowledged()