package Visual_DVM_2021.Passes.All;
import Common.Global;
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();
    }
}
