-
Notifications
You must be signed in to change notification settings - Fork 101
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Extract enum EntityType from EntityFileRelation (#308)
- Loading branch information
1 parent
f530d16
commit 17d8e39
Showing
15 changed files
with
71 additions
and
61 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
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
21 changes: 21 additions & 0 deletions
21
common/src/main/java/com/microsoft/hydralab/common/entity/common/EntityType.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,21 @@ | ||
// Copyright (c) Microsoft Corporation. | ||
// Licensed under the MIT License. | ||
package com.microsoft.hydralab.common.entity.common; | ||
|
||
import com.microsoft.hydralab.common.util.blob.DeviceNetworkBlobConstants; | ||
|
||
public enum EntityType { | ||
SCREENSHOT("SCREENSHOT", DeviceNetworkBlobConstants.SCREENSHOT_CONTAINER_NAME), | ||
APP_FILE_SET("FILE_SET", DeviceNetworkBlobConstants.APP_FILE_CONTAINER_NAME), | ||
TEST_RESULT("TEST_RES", DeviceNetworkBlobConstants.TEST_RESULT_CONTAINER_NAME), | ||
AGENT_PACKAGE("AGENT_PKG", DeviceNetworkBlobConstants.AGENT_PACKAGE_CONTAINER_NAME), | ||
TEST_JSON("TEST_JSON", DeviceNetworkBlobConstants.TEST_JSON_CONTAINER_NAME); | ||
|
||
public String typeName; | ||
public String blobConstant; | ||
|
||
EntityType(String typeName, String blobConstant) { | ||
this.typeName = typeName; | ||
this.blobConstant = blobConstant; | ||
} | ||
} |
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.