/** * Returns a Command for retrieving a Feature's Property on a Thing. * * @param thingId the {@code Thing}'s ID whose {@code Feature}'s Property to retrieve. * @param featureId the {@code Feature}'s ID whose Property to retrieve. * @param propertyJsonPointer the JSON pointer of the Property key to retrieve. * @param dittoHeaders the headers of the command. * @return a Command for retrieving the Property at the specified Pointer. * @throws NullPointerException if any argument but {@code thingId} is {@code null}. * @throws org.eclipse.ditto.model.things.ThingIdInvalidException if the parsed thing ID did not comply to {@link * org.eclipse.ditto.model.things.Thing#ID_REGEX}. */ public static RetrieveFeatureProperty of(final String thingId, final String featureId, final JsonPointer propertyJsonPointer, final DittoHeaders dittoHeaders) { return new RetrieveFeatureProperty(thingId, featureId, propertyJsonPointer, dittoHeaders); }
/** * Returns a Command for retrieving a Feature's Property on a Thing. * * @param thingId the {@code Thing}'s ID whose {@code Feature}'s Property to retrieve. * @param featureId the {@code Feature}'s ID whose Property to retrieve. * @param propertyJsonPointer the JSON pointer of the Property key to retrieve. * @param dittoHeaders the headers of the command. * @return a Command for retrieving the Property at the specified Pointer. * @throws NullPointerException if any argument but {@code thingId} is {@code null}. * @throws org.eclipse.ditto.model.things.ThingIdInvalidException if the parsed thing ID did not comply to {@link * org.eclipse.ditto.model.things.Thing#ID_REGEX}. */ public static RetrieveFeatureProperty of(final String thingId, final String featureId, final JsonPointer propertyJsonPointer, final DittoHeaders dittoHeaders) { return new RetrieveFeatureProperty(thingId, featureId, propertyJsonPointer, dittoHeaders); }