@Test public void deleteOptionsDefaults() { DeletePOptions options = FileSystemOptions.deleteDefaults(mConf); assertNotNull(options); assertFalse(options.getRecursive()); assertFalse(options.getAlluxioOnly()); assertFalse(options.getUnchecked()); }
public static DeletePOptions deleteDefaults(AlluxioConfiguration conf) { return DeletePOptions.newBuilder() .setAlluxioOnly(false) .setCommonOptions(commonDefaults(conf)) .setRecursive(false) .setUnchecked(conf.getBoolean(PropertyKey.USER_FILE_DELETE_UNCHECKED)) .build(); }
FileSystemOptions { public static DeletePOptions deleteDefaults(AlluxioConfiguration conf) { return DeletePOptions.newBuilder() .setAlluxioOnly(false) .setCommonOptions(commonDefaults(conf)) .setRecursive(false) .setUnchecked(conf.getBoolean(PropertyKey.USER_FILE_DELETE_UNCHECKED)) .build(); } }
FileSystemOptions { public static DeletePOptions deleteDefaults(AlluxioConfiguration conf) { return DeletePOptions.newBuilder() .setAlluxioOnly(false) .setCommonOptions(commonDefaults(conf)) .setRecursive(false) .setUnchecked(conf.getBoolean(PropertyKey.USER_FILE_DELETE_UNCHECKED)) .build(); }  }
FileSystemOptions { public static DeletePOptions deleteDefaults(AlluxioConfiguration conf) { return DeletePOptions.newBuilder() .setAlluxioOnly(false) .setCommonOptions(commonDefaults(conf)) .setRecursive(false) .setUnchecked(conf.getBoolean(PropertyKey.USER_FILE_DELETE_UNCHECKED)) .build(); }  static ScheduleAsyncPersistencePOptions scheduleAsyncPersistenceDefaults(
      AlluxioConfiguration conf); static CreateDirectoryPOptions createDirectoryDefaults(AlluxioConfiguration conf); static CheckConsistencyPOptions checkConsistencyDefaults(AlluxioConfiguration conf); static CreateFilePOptions createFileDefaults(AlluxioConfiguration conf); static DeletePOptions deleteDefaults(AlluxioConfiguration conf); static ExistsPOptions existsDefaults(AlluxioConfiguration conf); static FileSystemMasterCommonPOptions commonDefaults(
      AlluxioConfiguration conf); static FreePOptions freeDefaults(AlluxioConfiguration conf); static GetStatusPOptions getStatusDefaults(AlluxioConfiguration conf); static ListStatusPOptions listStatusDefaults(AlluxioConfiguration conf); static LoadMetadataPOptions loadMetadataDefaults(AlluxioConfiguration conf); static MountPOptions mountDefaults(AlluxioConfiguration conf); static OpenFilePOptions openFileDefaults(AlluxioConfiguration conf); static RenamePOptions renameDefaults(AlluxioConfiguration conf); static ScheduleAsyncPersistencePOptions scheduleAsyncPersistDefaults(
      AlluxioConfiguration conf); static SetAclPOptions setAclDefaults(AlluxioConfiguration conf); static SetAttributePOptions setAttributeDefaults(AlluxioConfiguration conf); static SetAttributePOptions setAttributeClientDefaults(AlluxioConfiguration conf); static UnmountPOptions unmountDefaults(AlluxioConfiguration conf); }
FileSystemOptions { public static DeletePOptions deleteDefaults(AlluxioConfiguration conf) { return DeletePOptions.newBuilder() .setAlluxioOnly(false) .setCommonOptions(commonDefaults(conf)) .setRecursive(false) .setUnchecked(conf.getBoolean(PropertyKey.USER_FILE_DELETE_UNCHECKED)) .build(); }  static ScheduleAsyncPersistencePOptions scheduleAsyncPersistenceDefaults(
      AlluxioConfiguration conf); static CreateDirectoryPOptions createDirectoryDefaults(AlluxioConfiguration conf); static CheckConsistencyPOptions checkConsistencyDefaults(AlluxioConfiguration conf); static CreateFilePOptions createFileDefaults(AlluxioConfiguration conf); static DeletePOptions deleteDefaults(AlluxioConfiguration conf); static ExistsPOptions existsDefaults(AlluxioConfiguration conf); static FileSystemMasterCommonPOptions commonDefaults(
      AlluxioConfiguration conf); static FreePOptions freeDefaults(AlluxioConfiguration conf); static GetStatusPOptions getStatusDefaults(AlluxioConfiguration conf); static ListStatusPOptions listStatusDefaults(AlluxioConfiguration conf); static LoadMetadataPOptions loadMetadataDefaults(AlluxioConfiguration conf); static MountPOptions mountDefaults(AlluxioConfiguration conf); static OpenFilePOptions openFileDefaults(AlluxioConfiguration conf); static RenamePOptions renameDefaults(AlluxioConfiguration conf); static ScheduleAsyncPersistencePOptions scheduleAsyncPersistDefaults(
      AlluxioConfiguration conf); static SetAclPOptions setAclDefaults(AlluxioConfiguration conf); static SetAttributePOptions setAttributeDefaults(AlluxioConfiguration conf); static SetAttributePOptions setAttributeClientDefaults(AlluxioConfiguration conf); static UnmountPOptions unmountDefaults(AlluxioConfiguration conf);  }