class TourNameCommand extends TourCommand Override public void execute

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
class TourNameCommand extends TourCommand {
@Override
public void execute() {
Payload payload = tourCommit.getPayloadParsed();
String name = payload.getObj().getAsString();
Act act = payload.getAct();
// ...
BusProvider.getInstance().post(new TourNameEvent(name));
}
}