создание группы из папки.
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user