Class VirtualProtocol

  • All Implemented Interfaces:
    Serializable
    Direct Known Subclasses:
    VanillaProtocol

    public class VirtualProtocol
    extends Protocol
    A protocol for encoding virtual artefacts.
    Virtual artefacts are generated using a virtual folder templateindicated by the main Reference resource.
    The virtual folder template defines a hierarchical structure of virtual nodes.
    The template path (see getTemplatePath(Reference)) indicates a path in this structure.
    Virtual folders templates can be applied on actual repository nodes (see getActualNodeLocation(Reference)) which should be passed as parameters to the virtual folder template.
    The protocol implementation also handles virtual protocol Reference creation and template path navigation.
    See Also:
    Serialized Form
    • Field Detail

      • ACTUAL_NODE_LOCATION_PARAM_INDEX

        public static final int ACTUAL_NODE_LOCATION_PARAM_INDEX
        Actual node Parameter index.
        See Also:
        Constant Field Values
      • NODE_TEMPLATE_PATH_TOKEN

        public static final Character NODE_TEMPLATE_PATH_TOKEN
        Repository node path system path token.
      • CLASS_TEMPLATE_PATH_TOKEN

        public static final Character CLASS_TEMPLATE_PATH_TOKEN
        Classpath system path token.
    • Constructor Detail

      • VirtualProtocol

        public VirtualProtocol()
      • VirtualProtocol

        public VirtualProtocol​(String name)