Tabnine Logo
WithFeatureId.getFeatureId
Code IndexAdd Tabnine to your IDE (free)

How to use
getFeatureId
method
in
org.eclipse.ditto.signals.base.WithFeatureId

Best Java code snippets using org.eclipse.ditto.signals.base.WithFeatureId.getFeatureId (Showing top 10 results out of 315)

origin: eclipse/ditto

private static FeatureDefinitionNotAccessibleException commandToFeatureDefinitionException(
    final ThingCommand command) {
  return FeatureDefinitionNotAccessibleException.newBuilder(command.getThingId(),
      ((WithFeatureId) command).getFeatureId())
      .dittoHeaders(command.getDittoHeaders())
      .build();
}
origin: org.eclipse.ditto/ditto-signals-commands-things

private static FeatureDefinitionNotAccessibleException commandToFeatureDefinitionException(
    final ThingCommand command) {
  return FeatureDefinitionNotAccessibleException.newBuilder(command.getThingId(),
      ((WithFeatureId) command).getFeatureId())
      .dittoHeaders(command.getDittoHeaders())
      .build();
}
origin: org.eclipse.ditto/ditto-signals-commands-things

private static FeatureNotAccessibleException commandToFeatureException(final ThingCommand command) {
  return FeatureNotAccessibleException.newBuilder(command.getThingId(), ((WithFeatureId) command).getFeatureId())
      .dittoHeaders(command.getDittoHeaders())
      .build();
}
origin: org.eclipse.ditto/ditto-signals-commands-things

private static FeaturePropertiesNotAccessibleException commandToFeaturePropertiesException(
    final ThingCommand command) {
  return FeaturePropertiesNotAccessibleException.newBuilder(command.getThingId(),
      ((WithFeatureId) command).getFeatureId())
      .dittoHeaders(command.getDittoHeaders())
      .build();
}
origin: eclipse/ditto

private static FeatureNotAccessibleException commandToFeatureException(final ThingCommand command) {
  return FeatureNotAccessibleException.newBuilder(command.getThingId(), ((WithFeatureId) command).getFeatureId())
      .dittoHeaders(command.getDittoHeaders())
      .build();
}
origin: eclipse/ditto

private static FeaturePropertiesNotAccessibleException commandToFeaturePropertiesException(
    final ThingCommand command) {
  return FeaturePropertiesNotAccessibleException.newBuilder(command.getThingId(),
      ((WithFeatureId) command).getFeatureId())
      .dittoHeaders(command.getDittoHeaders())
      .build();
}
origin: org.eclipse.ditto/ditto-signals-commands-things

private static FeaturePropertyNotAccessibleException commandToFeaturePropertyException(final ThingCommand command) {
  return FeaturePropertyNotAccessibleException.newBuilder(command.getId(),
      ((WithFeatureId) command).getFeatureId(), command.getResourcePath())
      .dittoHeaders(command.getDittoHeaders())
      .build();
}
origin: eclipse/ditto

private static FeaturePropertyNotAccessibleException commandToFeaturePropertyException(final ThingCommand command) {
  return FeaturePropertyNotAccessibleException.newBuilder(command.getId(),
      ((WithFeatureId) command).getFeatureId(), command.getResourcePath())
      .dittoHeaders(command.getDittoHeaders())
      .build();
}
origin: org.eclipse.ditto/ditto-signals-commands-things

mappingStrategies.put(ModifyFeature.TYPE,
    command -> FeatureNotModifiableException.newBuilder(command.getThingId(),
        ((WithFeatureId) command).getFeatureId())
        .dittoHeaders(command.getDittoHeaders())
        .build());
mappingStrategies.put(DeleteFeature.TYPE,
    command -> FeatureNotModifiableException.newBuilder(command.getThingId(),
        ((WithFeatureId) command).getFeatureId())
        .dittoHeaders(command.getDittoHeaders())
        .build());
mappingStrategies.put(ModifyFeatureDefinition.TYPE,
    command -> FeatureDefinitionNotModifiableException.newBuilder(command.getThingId(),
        ((WithFeatureId) command).getFeatureId())
        .dittoHeaders(command.getDittoHeaders())
        .build());
mappingStrategies.put(ModifyFeatureProperties.TYPE,
    command -> FeaturePropertiesNotModifiableException.newBuilder(command.getThingId(),
        ((WithFeatureId) command).getFeatureId())
        .dittoHeaders(command.getDittoHeaders())
        .build());
mappingStrategies.put(ModifyFeatureProperty.TYPE,
    command -> FeaturePropertyNotModifiableException.newBuilder(command.getThingId(),
        ((WithFeatureId) command).getFeatureId(), command.getResourcePath())
        .dittoHeaders(command.getDittoHeaders())
        .build());
mappingStrategies.put(DeleteFeatureDefinition.TYPE,
    command -> FeatureDefinitionNotModifiableException.newBuilder(command.getThingId(),
        ((WithFeatureId) command).getFeatureId())
origin: eclipse/ditto

mappingStrategies.put(ModifyFeature.TYPE,
    command -> FeatureNotModifiableException.newBuilder(command.getThingId(),
        ((WithFeatureId) command).getFeatureId())
        .dittoHeaders(command.getDittoHeaders())
        .build());
mappingStrategies.put(DeleteFeature.TYPE,
    command -> FeatureNotModifiableException.newBuilder(command.getThingId(),
        ((WithFeatureId) command).getFeatureId())
        .dittoHeaders(command.getDittoHeaders())
        .build());
mappingStrategies.put(ModifyFeatureDefinition.TYPE,
    command -> FeatureDefinitionNotModifiableException.newBuilder(command.getThingId(),
        ((WithFeatureId) command).getFeatureId())
        .dittoHeaders(command.getDittoHeaders())
        .build());
mappingStrategies.put(ModifyFeatureProperties.TYPE,
    command -> FeaturePropertiesNotModifiableException.newBuilder(command.getThingId(),
        ((WithFeatureId) command).getFeatureId())
        .dittoHeaders(command.getDittoHeaders())
        .build());
mappingStrategies.put(ModifyFeatureProperty.TYPE,
    command -> FeaturePropertyNotModifiableException.newBuilder(command.getThingId(),
        ((WithFeatureId) command).getFeatureId(), command.getResourcePath())
        .dittoHeaders(command.getDittoHeaders())
        .build());
mappingStrategies.put(DeleteFeatureDefinition.TYPE,
    command -> FeatureDefinitionNotModifiableException.newBuilder(command.getThingId(),
        ((WithFeatureId) command).getFeatureId())
org.eclipse.ditto.signals.baseWithFeatureIdgetFeatureId

Javadoc

Returns the identifier of the associated Feature.

Popular methods of WithFeatureId

    Popular in Java

    • Creating JSON documents from java classes using gson
    • orElseThrow (Optional)
      Return the contained value, if present, otherwise throw an exception to be created by the provided s
    • startActivity (Activity)
    • getSharedPreferences (Context)
    • SimpleDateFormat (java.text)
      Formats and parses dates in a locale-sensitive manner. Formatting turns a Date into a String, and pa
    • Scanner (java.util)
      A parser that parses a text string of primitive types and strings with the help of regular expressio
    • TreeMap (java.util)
      Walk the nodes of the tree left-to-right or right-to-left. Note that in descending iterations, next
    • UUID (java.util)
      UUID is an immutable representation of a 128-bit universally unique identifier (UUID). There are mul
    • ExecutorService (java.util.concurrent)
      An Executor that provides methods to manage termination and methods that can produce a Future for tr
    • Handler (java.util.logging)
      A Handler object accepts a logging request and exports the desired messages to a target, for example
    • From CI to AI: The AI layer in your organization
    Tabnine Logo
    • Products

      Search for Java codeSearch for JavaScript code
    • IDE Plugins

      IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
    • Company

      About UsContact UsCareers
    • Resources

      FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
    Get Tabnine for your IDE now