50 lines
1.4 KiB
Java
50 lines
1.4 KiB
Java
|
|
package _VisualDVM;
|
||
|
|
import Common.Properties;
|
||
|
|
import com.google.gson.annotations.Expose;
|
||
|
|
|
||
|
|
import java.io.File;
|
||
|
|
public class VisualDVMProperties extends Properties {
|
||
|
|
@Expose
|
||
|
|
public _VisualDVM.Mode Mode = _VisualDVM.Mode.Normal;
|
||
|
|
//---
|
||
|
|
@Expose
|
||
|
|
public String ServerAddress = "alex-freenas.ddns.net";
|
||
|
|
@Expose
|
||
|
|
public String ServerUserName = "testuser";
|
||
|
|
@Expose
|
||
|
|
public int ServerUserSHHPort = 23;
|
||
|
|
@Expose
|
||
|
|
public int ComponentsServerPort = 7995;
|
||
|
|
@Expose
|
||
|
|
public int TestingServerPort = 7998;
|
||
|
|
@Expose
|
||
|
|
public int SocketTimeout = 5000;
|
||
|
|
//--email
|
||
|
|
@Expose
|
||
|
|
public String SMTPHost = "smtp.mail.ru";
|
||
|
|
@Expose
|
||
|
|
public int SMTPPort = 465;
|
||
|
|
@Expose
|
||
|
|
public int MailSocketPort = 465;
|
||
|
|
//---
|
||
|
|
public VisualDVMProperties() {
|
||
|
|
}
|
||
|
|
public VisualDVMProperties(_VisualDVM.Mode mode_in, File file_in) {
|
||
|
|
super(file_in);
|
||
|
|
Mode = mode_in;
|
||
|
|
}
|
||
|
|
//---
|
||
|
|
public VisualDVMProperties(VisualDVMProperties src) {
|
||
|
|
Mode = src.Mode;
|
||
|
|
ServerAddress = src.ServerAddress;
|
||
|
|
ServerUserName = src.ServerUserName;
|
||
|
|
ServerUserSHHPort = src.ServerUserSHHPort;
|
||
|
|
ComponentsServerPort = src.ComponentsServerPort;
|
||
|
|
TestingServerPort = src.TestingServerPort;
|
||
|
|
SocketTimeout = src.SocketTimeout;
|
||
|
|
SMTPHost = src.SMTPHost;
|
||
|
|
SMTPPort = src.SMTPPort;
|
||
|
|
MailSocketPort = src.MailSocketPort;
|
||
|
|
}
|
||
|
|
}
|