Files
VisualSapfor/src/_VisualDVM/Passes/All/PublishSapforSettingsCommand.java

21 lines
877 B
Java
Raw Normal View History

2024-10-14 12:14:01 +03:00
package _VisualDVM.Passes.All;
2024-10-09 22:01:19 +03:00
import _VisualDVM.Current;
import _VisualDVM.Global;
2024-10-14 15:19:13 +03:00
import _VisualDVM.Passes.Server.PublishServerObject;
2024-10-09 22:21:57 +03:00
import _VisualDVM.TestingSystem.Common.TestingServer;
import _VisualDVM.TestingSystem.SAPFOR.SapforSettingsCommand.SapforSettingsCommand;
public class PublishSapforSettingsCommand extends PublishServerObject<TestingServer, SapforSettingsCommand> {
public PublishSapforSettingsCommand() {
super(Global.testingServer, SapforSettingsCommand.class);
}
@Override
public boolean fillObjectFields() throws Exception {
target.sapforsettings_id = Global.mainModule.getSapforSettings().id;
return super.fillObjectFields();
}
@Override
protected boolean canStart(Object... args) throws Exception {
2024-10-14 15:19:13 +03:00
return Global.mainModule.Check(Log, Current.SapforSettings) && super.canStart(args);
}
}