congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
WithFeatureId
Code IndexAdd Tabnine to your IDE (free)

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

Best Java code snippets using org.eclipse.ditto.signals.base.WithFeatureId (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.baseWithFeatureId

Javadoc

Implementations of this interface are associated to a Feature identified by the value returned from #getFeatureId().

Most used methods

  • getFeatureId
    Returns the identifier of the associated Feature.

Popular in Java

  • Updating database using SQL prepared statement
  • findViewById (Activity)
  • runOnUiThread (Activity)
  • getSystemService (Context)
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • FileWriter (java.io)
    A specialized Writer that writes to a file in the file system. All write requests made by calling me
  • JButton (javax.swing)
  • XPath (javax.xml.xpath)
    XPath provides access to the XPath evaluation environment and expressions. Evaluation of XPath Expr
  • LoggerFactory (org.slf4j)
    The LoggerFactory is a utility class producing Loggers for various logging APIs, most notably for lo
  • Best IntelliJ plugins
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