-
Notifications
You must be signed in to change notification settings - Fork 858
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Created local instance for StageStatus
- Loading branch information
swasti
committed
Oct 10, 2017
1 parent
656ba41
commit 29b5ced
Showing
7 changed files
with
23 additions
and
10 deletions.
There are no files selected for viewing
18 changes: 18 additions & 0 deletions
18
app/com/linkedin/drelephant/spark/fetchers/statusapiv1/StageStatus.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,18 @@ | ||
package com.linkedin.drelephant.spark.fetchers.statusapiv1; | ||
|
||
import org.apache.spark.util.EnumUtil; | ||
|
||
public enum StageStatus { | ||
ACTIVE, | ||
COMPLETE, | ||
FAILED, | ||
SKIPPED, | ||
PENDING; | ||
|
||
private StageStatus() { | ||
} | ||
|
||
public static com.linkedin.drelephant.spark.fetchers.statusapiv1.StageStatus fromString(String str) { | ||
return (com.linkedin.drelephant.spark.fetchers.statusapiv1.StageStatus) EnumUtil.parseIgnoreCase(com.linkedin.drelephant.spark.fetchers.statusapiv1.StageStatus.class, str); | ||
} | ||
} |
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