Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
oltinspection
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
胡懿
oltinspection
Commits
915e25d4
Commit
915e25d4
authored
Mar 06, 2019
by
huyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新建检测进度的controller和存放进度常量的包
parent
125ee580
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
36 additions
and
0 deletions
+36
-0
IndexController.java
...va/com/fhkj/oltinspection/controller/IndexController.java
+4
-0
ObserverController.java
...com/fhkj/oltinspection/controller/ObserverController.java
+16
-0
CommandExecutionObserver.java
...fhkj/oltinspection/observer/CommandExecutionObserver.java
+16
-0
No files found.
src/main/java/com/fhkj/oltinspection/controller/IndexController.java
View file @
915e25d4
...
...
@@ -3,6 +3,10 @@ package com.fhkj.oltinspection.controller;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
/**
* @author 胡懿
* @see 用来做登录时的验证
*/
@RestController
@RequestMapping
(
value
=
"/index"
)
public
class
IndexController
{
...
...
src/main/java/com/fhkj/oltinspection/controller/ObserverController.java
0 → 100644
View file @
915e25d4
package
com
.
fhkj
.
oltinspection
.
controller
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
/**
* @author 胡懿
* @see 这个Controller用来作为观察者,包括进度条的观测、命令进度的观测
*/
@RestController
@RequestMapping
(
value
=
"/observer"
)
public
class
ObserverController
{
}
\ No newline at end of file
src/main/java/com/fhkj/oltinspection/observer/CommandExecutionObserver.java
0 → 100644
View file @
915e25d4
package
com
.
fhkj
.
oltinspection
.
observer
;
/**
* @author 胡懿
* @see 这个类是用来存储命令相关的进度,例如:命令执行进度等
*/
public
class
CommandExecutionObserver
{
/**
* @autor 胡懿
* @see 命令执行的进度
* @paramaterType Integer
*/
public
static
Integer
CommandExecutionProgressPercentage
;
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment