no message
This commit is contained in:
@@ -6,17 +6,17 @@ import Visual_DVM_2021.Passes.Server.TestingSystemPass;
|
||||
|
||||
import java.util.Vector;
|
||||
public class PublishTests extends TestingSystemPass<Vector<Test>> {
|
||||
@Override
|
||||
protected boolean needsAnimation() {
|
||||
return false;
|
||||
}
|
||||
@Override
|
||||
protected boolean canStart(Object... args) throws Exception {
|
||||
target = (Vector<Test>) args[0];
|
||||
return target != null && !target.isEmpty();
|
||||
}
|
||||
@Override
|
||||
protected void ServerAction() throws Exception {
|
||||
Command(new ServerExchangeUnit_2021(ServerCode.PublishObjects, "", target));
|
||||
}
|
||||
@Override
|
||||
protected void performFinish() throws Exception {
|
||||
super.performFinish();
|
||||
passes.get(server.db.getSynchronizePassCode()).Do();
|
||||
Command(new ServerExchangeUnit_2021(ServerCode.PublishObjects, null, target));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user