-
Notifications
You must be signed in to change notification settings - Fork 701
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#371 rest api for getting the count of alarm-jobs
- Loading branch information
Showing
11 changed files
with
265 additions
and
201 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
36 changes: 36 additions & 0 deletions
36
saturn-console-api/src/main/java/com/vip/saturn/job/console/domain/AlarmJobCount.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
package com.vip.saturn.job.console.domain; | ||
|
||
import java.io.Serializable; | ||
|
||
/** | ||
* Created by ivy01.li on 2018/3/9. | ||
*/ | ||
public class AlarmJobCount implements Serializable { | ||
private static final long serialVersionUID = 1L; | ||
|
||
private String alarmJobType; | ||
private int count; | ||
|
||
public AlarmJobCount() {} | ||
|
||
public AlarmJobCount(String alarmJobType, int count) { | ||
this.alarmJobType = alarmJobType; | ||
this.count = count; | ||
} | ||
|
||
public String getAlarmJobType() { | ||
return alarmJobType; | ||
} | ||
|
||
public int getCount() { | ||
return count; | ||
} | ||
|
||
public void setAlarmJobType(String alarmJobType) { | ||
this.alarmJobType = alarmJobType; | ||
} | ||
|
||
public void setCount(int count) { | ||
this.count = count; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.