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