-
Notifications
You must be signed in to change notification settings - Fork 96
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #114 from stelin/main
1.0.4
- Loading branch information
Showing
120 changed files
with
4,333 additions
and
307 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
29 changes: 29 additions & 0 deletions
29
openjob-common/src/main/java/io/openjob/common/constant/ShellTypeEnum.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,29 @@ | ||
package io.openjob.common.constant; | ||
|
||
import lombok.AllArgsConstructor; | ||
import lombok.Getter; | ||
|
||
/** | ||
* @author stelin [email protected] | ||
* @since 1.0.4 | ||
*/ | ||
@Getter | ||
@AllArgsConstructor | ||
public enum ShellTypeEnum { | ||
|
||
/** | ||
* unix | ||
*/ | ||
UNIX("unix"), | ||
|
||
/** | ||
* windows | ||
*/ | ||
WINDOWS("windows"), | ||
; | ||
|
||
/** | ||
* Type | ||
*/ | ||
private final String type; | ||
} |
23 changes: 23 additions & 0 deletions
23
openjob-common/src/main/java/io/openjob/common/dto/ShellProcessorDTO.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,23 @@ | ||
package io.openjob.common.dto; | ||
|
||
import lombok.Data; | ||
import io.openjob.common.constant.ShellTypeEnum; | ||
|
||
/** | ||
* @author stelin [email protected] | ||
* @since 1.0.4 | ||
*/ | ||
@Data | ||
public class ShellProcessorDTO { | ||
/** | ||
* Content | ||
*/ | ||
private String content; | ||
|
||
/** | ||
* Type | ||
* | ||
* @see ShellTypeEnum | ||
*/ | ||
private String type; | ||
} |
2 changes: 1 addition & 1 deletion
2
.../openjob/server/common/util/JsonUtil.java → ...java/io/openjob/common/util/JsonUtil.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
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
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.