Class ProjectResourceId
java.lang.Object
com.inductiveautomation.ignition.common.project.resource.ProjectResourceId
- All Implemented Interfaces:
Serializable
Unique ID for a project resource, containing the project, module id, type id, and folder path.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionProjectResourceId
(String project, ResourcePath resourcePath) ProjectResourceId
(String project, ResourceType resourceType, String path) -
Method Summary
Modifier and TypeMethodDescriptionboolean
static ProjectResourceId
fromJson
(com.inductiveautomation.ignition.common.gson.JsonElement e) Shortcut for getResourcePath().getPath().toString()int
hashCode()
com.inductiveautomation.ignition.common.gson.JsonObject
toJson()
toString()
-
Field Details
-
projectName
-
resourcePath
-
-
Constructor Details
-
ProjectResourceId
-
ProjectResourceId
-
-
Method Details
-
getProjectName
-
getResourceType
-
getResourcePath
- Returns:
- The resource path, which is the resource type id + folder path.
-
getFolderPath
Shortcut for getResourcePath().getPath().toString() -
equals
-
hashCode
public int hashCode() -
toString
-
toJson
public com.inductiveautomation.ignition.common.gson.JsonObject toJson() -
fromJson
public static ProjectResourceId fromJson(com.inductiveautomation.ignition.common.gson.JsonElement e)
-