org.bidib.wizard.api.model.firmware.FirmwareRepoEntry Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bidibwizard-api Show documentation
Show all versions of bidibwizard-api Show documentation
jBiDiB BiDiB Wizard API POM
package org.bidib.wizard.api.model.firmware;
import org.bidib.jbidibc.exchange.firmware.FirmwareDefinitionType;
public class FirmwareRepoEntry {
private final FirmwareDefinitionType firmwareDefinition;
private final String productName;
public FirmwareRepoEntry(FirmwareDefinitionType firmwareDefinition, String productName) {
this.firmwareDefinition = firmwareDefinition;
this.productName = productName;
}
public FirmwareDefinitionType getFirmwareDefintion() {
return firmwareDefinition;
}
public String getProductName() {
return productName;
}
@Override
public String toString() {
return productName + ", Version: " + this.firmwareDefinition.getVersion() + ", Status: "
+ this.firmwareDefinition.getStatus();
}
}