2024-10-14 12:14:01 +03:00
|
|
|
package _VisualDVM.Passes.All;
|
2024-10-07 00:58:29 +03:00
|
|
|
import _VisualDVM.Global;
|
2024-10-09 22:21:57 +03:00
|
|
|
import _VisualDVM.TestingSystem.Common.Group.Group;
|
|
|
|
|
import _VisualDVM.TestingSystem.Common.TestingServer;
|
2024-10-14 12:14:01 +03:00
|
|
|
import _VisualDVM.Passes.Server.PublishServerObject;
|
2023-11-16 16:20:20 +03:00
|
|
|
public class PublishGroup extends PublishServerObject<TestingServer, Group> {
|
2023-11-20 22:10:21 +03:00
|
|
|
String group_description;
|
2023-11-16 16:20:20 +03:00
|
|
|
public PublishGroup() {
|
|
|
|
|
super(Global.testingServer, Group.class);
|
2023-09-17 22:13:42 +03:00
|
|
|
}
|
2023-11-20 22:10:21 +03:00
|
|
|
@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();
|
|
|
|
|
}
|
2023-09-17 22:13:42 +03:00
|
|
|
}
|