FsExport { public boolean isAllRoot() { return _allRoot; } private  FsExport(String path, FsExportBuilder builder); static int getExportIndex(String path); String getPath(); @Override String toString(); boolean isAllowed(InetAddress client); boolean isTrusted(); String client(); IO ioMode(); int getIndex(); boolean checkAcls(); Sec getSec(); boolean hasAllSquash(); int getAnonUid(); int getAnonGid(); boolean isWithDcap(); boolean isAllRoot(); boolean isWithPnfs(); boolean isPrivilegedClientPortRequired(); List<layouttype4> getLayoutTypes(); static String normalize(String path); @Override int hashCode(); @Override boolean equals(Object obj); final static int DEFAULT_ANON_UID; final static int DEFAULT_ANON_GID; }
@Test public void testAllRoot() throws UnknownHostException { FsExport export = _exportFile.getExport("/export_all_root", InetAddress.getByName("192.168.1.1")); assertTrue(export.isAllRoot()); }