Class AxeDevToolsResultKey
java.lang.Object
com.deque.networking.models.devtools.serializable.AxeDevToolsResultKey
- All Implemented Interfaces:
Comparable<AxeDevToolsResultKey>
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAxeDevToolsResultKey(String userId, String packageName, String resultId) Construct an AxeDevToolsResultKey. -
Method Summary
Modifier and TypeMethodDescriptionintbooleanstatic AxeDevToolsResultKeystatic AxeDevToolsResultKeyCreate an AxeDevToolsResultKey from a URL path relating to it.inthashCode()isValid()toPath()toString()
-
Field Details
-
userId
-
packageName
-
resultId
-
-
Constructor Details
-
AxeDevToolsResultKey
Construct an AxeDevToolsResultKey.- Parameters:
userId- The userId that owns the result.packageName- The package the result came from.resultId- The id of the result.
-
-
Method Details
-
fromPath
-
fromPath
Create an AxeDevToolsResultKey from a URL path relating to it.- Parameters:
pathElements- The path for the key. Should look like: "userId/packageName/resultId".- Returns:
- A new AxeDevToolsResultKey object or blank AxeDevToolsResultKey object if pathElements don't have length of 3.
-
toPath
-
isValid
-
toString
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<AxeDevToolsResultKey>
-