Class NodeEntryFactory


  • public class NodeEntryFactory
    extends java.lang.Object
    NodeEntryFactory creates NodeEntryImpls
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static NodeEntryImpl createFromMap​(java.util.Map<java.lang.String,​java.lang.Object> map)
      Create NodeEntryImpl from map data.
      static java.util.Map<java.lang.String,​java.lang.String> toMap​(INodeEntry node)  
      • Methods inherited from class java.lang.Object

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

      • NodeEntryFactory

        public NodeEntryFactory()
    • Method Detail

      • createFromMap

        public static NodeEntryImpl createFromMap​(java.util.Map<java.lang.String,​java.lang.Object> map)
                                           throws java.lang.IllegalArgumentException
        Create NodeEntryImpl from map data. It will convert "tags" of type String as a comma separated list of tags, or "tags" a collection of strings into a set. It will remove properties excluded from allowed import.
        Parameters:
        map - input map data
        Returns:
        new entry
        Throws:
        java.lang.IllegalArgumentException - if name is not set
      • toMap

        public static java.util.Map<java.lang.String,​java.lang.String> toMap​(INodeEntry node)