forked from jenkinsci/jenkins
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
abf4d00
commit 73a48c0
Showing
4 changed files
with
32 additions
and
32 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
package jenkins.model; | ||
|
||
public class DetailGroup { | ||
|
||
private final int order; | ||
|
||
private DetailGroup(int order) { | ||
if (order < 0) { | ||
throw new RuntimeException("Orders cannot be less than 0"); | ||
} | ||
|
||
this.order = order; | ||
} | ||
|
||
public static DetailGroup SCM = of(0); | ||
|
||
public static DetailGroup GENERAL = of(Integer.MAX_VALUE); | ||
|
||
private static DetailGroup of(int customOrder) { | ||
return new DetailGroup(customOrder); | ||
} | ||
|
||
public int getOrder() { | ||
return order; | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.