Add all 23 GoF design pattern implementations (2026-06-13)
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
package chain;
|
||||
|
||||
/** Handles CRITICAL tickets — all-hands incident response */
|
||||
public class CriticalIncidentTeam extends SupportHandler {
|
||||
|
||||
@Override
|
||||
protected boolean canHandle(SupportTicket ticket) {
|
||||
return ticket.getPriority() == SupportTicket.Priority.CRITICAL;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void handle(SupportTicket ticket) {
|
||||
System.out.println(" [CRITICAL TEAM] All-hands war room opened: " + ticket);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user