Class SchemaViolation.ViolatorData

  • Enclosing class:
    SchemaViolation

    public static class SchemaViolation.ViolatorData
    extends java.lang.Object
    Data about the calling API that violated the schema
    • Constructor Summary

      Constructors 
      Constructor Description
      ViolatorData​(java.lang.String path, byte[] data, java.util.List<org.apache.zookeeper.data.ACL> acl)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<org.apache.zookeeper.data.ACL> getAcl()
      The ACLs used in the API or null
      byte[] getData()
      The data used in the API or null
      java.lang.String getPath()
      The path used in the API or null
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

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

      • ViolatorData

        public ViolatorData​(java.lang.String path,
                            byte[] data,
                            java.util.List<org.apache.zookeeper.data.ACL> acl)
    • Method Detail

      • getPath

        public java.lang.String getPath()
        The path used in the API or null
        Returns:
        path or null
      • getData

        public byte[] getData()
        The data used in the API or null
        Returns:
        data or null
      • getAcl

        public java.util.List<org.apache.zookeeper.data.ACL> getAcl()
        The ACLs used in the API or null
        Returns:
        ACLs or null
      • toString

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