создание группы из папки.

This commit is contained in:
2023-11-20 22:10:21 +03:00
parent 0cfa94eba8
commit 577803515e
10 changed files with 126 additions and 34 deletions

View File

@@ -4,7 +4,18 @@ import TestingSystem.Common.Group.Group;
import TestingSystem.Common.TestingServer;
import Visual_DVM_2021.Passes.Server.PublishServerObject;
public class PublishGroup extends PublishServerObject<TestingServer, Group> {
String group_description;
public PublishGroup() {
super(Global.testingServer, Group.class);
}
@Override
protected boolean canStart(Object... args) throws Exception {
group_description = (args.length > 0) ? (String) args[0] : "";
return super.canStart(args);
}
@Override
public boolean fillObjectFields() throws Exception {
target.description = group_description;
return super.fillObjectFields();
}
}