com.alachisoft.ncache.licensing.config.Product Maven / Gradle / Ivy
// Licensed under the Apache License, Version 2.0 (the "License");
package com.alachisoft.ncache.licensing.config;
import Alachisoft.NCache.Common.Configuration.ConfigurationAttributeAnnotation;
import Alachisoft.NCache.Common.Configuration.ConfigurationSectionAnnotation;
public class Product {
private String privateDotNetInstallMode,
privateHttpPort,
privateInstallCode,
privateInstallDir,
privateLastReportTime,
privatePlatform,
privateSPVersion,
privateTcpPort;
@ConfigurationAttributeAnnotation(value = "dotnet-install-mode", appendText = "")
public final String getDotNetInstallMode() {
return privateDotNetInstallMode;
}
@ConfigurationAttributeAnnotation(value = "dotnet-install-mode", appendText = "")
public final void setDotNetInstallMode(String value) {
privateDotNetInstallMode = value;
}
@ConfigurationAttributeAnnotation(value = "http-port", appendText = "")
public final String getHttpPort() {
return privateHttpPort;
}
@ConfigurationAttributeAnnotation(value = "http-port", appendText = "")
public final void setHttpPort(String value) {
privateHttpPort = value;
}
@ConfigurationSectionAnnotation(value = "install-code")
public final String getInstallCode() {
return privateInstallCode;
}
@ConfigurationSectionAnnotation(value = "install-code")
public final void setInstallCode(String value) {
privateInstallCode = value;
}
@ConfigurationSectionAnnotation(value = "install-dir")
public final String getInstallDir() {
return privateInstallDir;
}
@ConfigurationSectionAnnotation(value = "install-dir")
public final void setInstallDir(String value) {
privateInstallDir = value;
}
@ConfigurationSectionAnnotation(value = "last-report-time")
public final String getLastReportTime() {
return privateLastReportTime;
}
@ConfigurationSectionAnnotation(value = "last-report-time")
public final void setLastReportTime(String value) {
privateLastReportTime = value;
}
@ConfigurationSectionAnnotation(value = "platform")
public final String getPlatform() {
return privatePlatform;
}
@ConfigurationSectionAnnotation(value = "platform")
public final void setPlatform(String value) {
privatePlatform = value;
}
@ConfigurationSectionAnnotation(value = "sp-version")
public final String getSPVersion() {
return privateSPVersion;
}
@ConfigurationSectionAnnotation(value = "sp-version")
public final void setSPVersion(String value) {
privateSPVersion = value;
}
@ConfigurationSectionAnnotation(value = "tcp-port")
public final String getTcpPort() {
return privateTcpPort;
}
@ConfigurationSectionAnnotation(value = "tcp-port")
public final void setTcpPort(String value) {
privateTcpPort = value;
}
public final String ToXml(String licenseKey, String deactivateCode) {
String xml = "";
xml += "";
xml += licenseKey;
xml += " ";
xml += "";
xml += deactivateCode;
xml += " ";
xml += " ";
return xml;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy