/** * Deserializes a NIS boot info. * * @param deserializer The deserializer. */ public NisBootInfo(final Deserializer deserializer) { // To provide a smooth transition from old structure final Integer bootStrategy = deserializer.readOptionalInt("bootNis"); this.bootStrategy = null == bootStrategy ? 0 : bootStrategy; this.accountId = deserializer.readOptionalString("account"); this.nodeName = deserializer.readOptionalString("nodeName"); }