Class TargetType


  • @Deprecated
    public final class TargetType
    extends Object
    Deprecated.
    Legacy AEM 6.x API.
    Identifies the type of resource being requests.
    • Field Detail

      • TYPE_UNKNOWN

        public static final TargetType TYPE_UNKNOWN
        Deprecated.
        An unknown target type
      • TYPE_NOT_FOUND

        public static final TargetType TYPE_NOT_FOUND
        Deprecated.
        A not found target type
      • TYPE_SERVICE

        public static final TargetType TYPE_SERVICE
        Deprecated.
        An Atompub Service Document
      • TYPE_COLLECTION

        public static final TargetType TYPE_COLLECTION
        Deprecated.
        An Atom Feed Document representing an Atompub Collection
      • TYPE_ENTRY

        public static final TargetType TYPE_ENTRY
        Deprecated.
        An Atompub Collection member entry
      • TYPE_MEDIA

        public static final TargetType TYPE_MEDIA
        Deprecated.
        An Atompub Collection media resource
      • TYPE_CATEGORIES

        public static final TargetType TYPE_CATEGORIES
        Deprecated.
        An Atompub Categories Document
    • Method Detail

      • values

        public static Iterable<TargetType> values()
        Deprecated.
        Return a listing of TargetTypes
      • get

        public static TargetType get​(String name)
        Deprecated.
        Get the specified target type
      • get

        public static TargetType get​(String name,
                                     boolean create)
        Deprecated.
        Get the specified target type. If the target type does not currently exist, and create = true, a new type will be created.
      • name

        public String name()
        Deprecated.
        Return the target name
      • hashCode

        public int hashCode()
        Deprecated.
        Overrides:
        hashCode in class Object
      • equals

        public boolean equals​(Object obj)
        Deprecated.
        Overrides:
        equals in class Object