Skip to content

Commit be33cb4

Browse files
committed
chore(observer): add RemoteHookObserver and IssueWorker classes #259
Introduce RemoteHookObserver to handle remote hook events and IssueWorker for processing tasks. Both classes are placeholders for future implementation.
1 parent 62032e0 commit be33cb4

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
package cc.unitmesh.devti.observer
2+
3+
import cc.unitmesh.devti.observer.agent.AgentProcessor
4+
import cc.unitmesh.devti.provider.observer.AgentObserver
5+
import com.intellij.openapi.project.Project
6+
7+
/**
8+
* Remote Hook observer will receive the remote hook event and process it.
9+
* like:
10+
* - [ ] Jira issue
11+
* - [ ] GitHub/Gitlab issue
12+
* and Trigger after processor, and send the notification to the chat window.
13+
*/
14+
class RemoteHookObserver : AgentObserver {
15+
override fun onRegister(project: Project) {
16+
// TODO("Not yet implemented")
17+
}
18+
}
19+
20+
class IssueWorker : AgentProcessor {
21+
override fun process() {
22+
// TODO("Not yet implemented")
23+
}
24+
}

0 commit comments

Comments
 (0)