View Javadoc
1   /*
2    * Copyright 2020-2022 The OSHI Project Contributors
3    * SPDX-License-Identifier: MIT
4    */
5   package oshi.hardware.platform.unix.aix;
6   
7   import oshi.annotation.concurrent.Immutable;
8   import oshi.hardware.common.AbstractFirmware;
9   
10  /**
11   * Firmware data.
12   */
13  @Immutable
14  final class AixFirmware extends AbstractFirmware {
15  
16      private final String manufacturer;
17      private final String name;
18      private final String version;
19  
20      AixFirmware(String manufacturer, String name, String version) {
21          this.manufacturer = manufacturer;
22          this.name = name;
23          this.version = version;
24      }
25  
26      @Override
27      public String getManufacturer() {
28          return manufacturer;
29      }
30  
31      @Override
32      public String getName() {
33          return name;
34      }
35  
36      @Override
37      public String getVersion() {
38          return version;
39      }
40  }