21 lines
835 B
Java
21 lines
835 B
Java
|
|
package Visual_DVM_2021.Passes.All;
|
||
|
|
import Common.Current;
|
||
|
|
import Common.Global;
|
||
|
|
import TestingSystem.Common.TestingServer;
|
||
|
|
import TestingSystem.SAPFOR.SapforSettingsCommand.SapforSettingsCommand;
|
||
|
|
import Visual_DVM_2021.Passes.Server.PublishServerObject;
|
||
|
|
public class PublishSapforSettingsCommand extends PublishServerObject<TestingServer, SapforSettingsCommand> {
|
||
|
|
public PublishSapforSettingsCommand() {
|
||
|
|
super(Global.testingServer, SapforSettingsCommand.class);
|
||
|
|
}
|
||
|
|
@Override
|
||
|
|
public boolean fillObjectFields() throws Exception {
|
||
|
|
target.sapforsettings_id = Current.getSapforSettings().id;
|
||
|
|
return super.fillObjectFields();
|
||
|
|
}
|
||
|
|
@Override
|
||
|
|
protected boolean canStart(Object... args) throws Exception {
|
||
|
|
return Current.Check(Log, Current.SapforSettings)&&super.canStart(args);
|
||
|
|
}
|
||
|
|
}
|