Class Source


  • public class Source
    extends java.lang.Object
    Source The source of a web artifact: servlet, filter, mapping etc
    • Field Detail

      • EMBEDDED

        public static final Source EMBEDDED
      • JAVAX_API

        public static final Source JAVAX_API
      • _resource

        public java.lang.String _resource
    • Constructor Detail

      • Source

        public Source​(Source.Origin o,
                      java.lang.String resource)
        Parameters:
        o - the Origin of the artifact (servlet, filter, mapping etc)
        resource - the location where the artifact was declared
    • Method Detail

      • getOrigin

        public Source.Origin getOrigin()
        Returns:
        the origin
      • getResource

        public java.lang.String getResource()
        Returns:
        the resource
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
        See Also:
        Object.toString()