Class ModifyLiveCommandFactory

    • Method Detail

      • createThing

        @Nonnull
        public static CreateThingLiveCommand createThing​(org.eclipse.ditto.signals.commands.base.Command<?> command)
        Returns a new immutable instance of CreateThingLiveCommand.
        Parameters:
        command - the command to base the result on.
        Returns:
        the instance.
        Throws:
        NullPointerException - if command is null.
        ClassCastException - if command is not an instance of CreateThing.
      • deleteAttribute

        @Nonnull
        public static DeleteAttributeLiveCommand deleteAttribute​(org.eclipse.ditto.signals.commands.base.Command<?> command)
        Returns a new immutable instance of DeleteAttributeLiveCommand.
        Parameters:
        command - the command to base the result on.
        Returns:
        the instance.
        Throws:
        NullPointerException - if command is null.
        ClassCastException - if command is not an instance of DeleteAttribute.
      • deleteAttributes

        @Nonnull
        public static DeleteAttributesLiveCommand deleteAttributes​(org.eclipse.ditto.signals.commands.base.Command<?> command)
        Returns a new immutable instance of DeleteAttributesLiveCommand.
        Parameters:
        command - the command to base the result on.
        Returns:
        the instance.
        Throws:
        NullPointerException - if command is null.
        ClassCastException - if command is not an instance of DeleteAttributes.
      • deleteFeature

        @Nonnull
        public static DeleteFeatureLiveCommand deleteFeature​(org.eclipse.ditto.signals.commands.base.Command<?> command)
        Returns a new immutable instance of DeleteFeatureLiveCommand.
        Parameters:
        command - the command to base the result on.
        Returns:
        the instance.
        Throws:
        NullPointerException - if command is null.
        ClassCastException - if command is not an instance of DeleteFeature.
      • deleteFeatureDefinition

        @Nonnull
        public static DeleteFeatureDefinitionLiveCommand deleteFeatureDefinition​(org.eclipse.ditto.signals.commands.base.Command<?> command)
        Returns a new immutable instance of DeleteFeatureDefinitionLiveCommand.
        Parameters:
        command - the command to base the result on.
        Returns:
        the instance.
        Throws:
        NullPointerException - if command is null.
        ClassCastException - if command is not an instance of DeleteFeatureDefinition.
      • deleteFeatureProperties

        @Nonnull
        public static DeleteFeaturePropertiesLiveCommand deleteFeatureProperties​(org.eclipse.ditto.signals.commands.base.Command<?> command)
        Returns a new immutable instance of DeleteFeaturePropertiesLiveCommand.
        Parameters:
        command - the command to base the result on.
        Returns:
        the instance.
        Throws:
        NullPointerException - if command is null.
        ClassCastException - if command is not an instance of DeleteFeatureProperties.
      • deleteFeatureProperty

        @Nonnull
        public static DeleteFeaturePropertyLiveCommand deleteFeatureProperty​(org.eclipse.ditto.signals.commands.base.Command<?> command)
        Returns a new immutable instance of DeleteFeaturePropertyLiveCommand.
        Parameters:
        command - the command to base the result on.
        Returns:
        the instance.
        Throws:
        NullPointerException - if command is null.
        ClassCastException - if command is not an instance of DeleteFeatureProperty.
      • deleteFeatures

        @Nonnull
        public static DeleteFeaturesLiveCommand deleteFeatures​(org.eclipse.ditto.signals.commands.base.Command<?> command)
        Returns a new immutable instance of DeleteFeaturesLiveCommand.
        Parameters:
        command - the command to base the result on.
        Returns:
        the instance.
        Throws:
        NullPointerException - if command is null.
        ClassCastException - if command is not an instance of DeleteFeatures.
      • deleteThing

        @Nonnull
        public static DeleteThingLiveCommand deleteThing​(org.eclipse.ditto.signals.commands.base.Command<?> command)
        Returns a new immutable instance of DeleteThingLiveCommand.
        Parameters:
        command - the command to base the result on.
        Returns:
        the instance.
        Throws:
        NullPointerException - if command is null.
        ClassCastException - if command is not an instance of DeleteThing.
      • modifyAttribute

        @Nonnull
        public static ModifyAttributeLiveCommand modifyAttribute​(org.eclipse.ditto.signals.commands.base.Command<?> command)
        Returns a new immutable instance of ModifyAttributeLiveCommand.
        Parameters:
        command - the command to base the result on.
        Returns:
        the instance.
        Throws:
        NullPointerException - if command is null.
        ClassCastException - if command is not an instance of ModifyAttribute.
      • modifyAttributes

        @Nonnull
        public static ModifyAttributesLiveCommand modifyAttributes​(org.eclipse.ditto.signals.commands.base.Command<?> command)
        Returns a new immutable instance of ModifyAttributesLiveCommand.
        Parameters:
        command - the command to base the result on.
        Returns:
        the instance.
        Throws:
        NullPointerException - if command is null.
        ClassCastException - if command is not an instance of ModifyAttributes.
      • modifyFeature

        @Nonnull
        public static ModifyFeatureLiveCommand modifyFeature​(org.eclipse.ditto.signals.commands.base.Command<?> command)
        Returns a new immutable instance of ModifyFeatureLiveCommand.
        Parameters:
        command - the command to base the result on.
        Returns:
        the instance.
        Throws:
        NullPointerException - if command is null.
        ClassCastException - if command is not an instance of ModifyFeature.
      • modifyFeatureDefinition

        @Nonnull
        public static ModifyFeatureDefinitionLiveCommand modifyFeatureDefinition​(org.eclipse.ditto.signals.commands.base.Command<?> command)
        Returns a new immutable instance of ModifyFeatureDefinitionLiveCommand.
        Parameters:
        command - the command to base the result on.
        Returns:
        the instance.
        Throws:
        NullPointerException - if command is null.
        ClassCastException - if command is not an instance of ModifyFeatureDefinition.
      • modifyFeatureProperties

        @Nonnull
        public static ModifyFeaturePropertiesLiveCommand modifyFeatureProperties​(org.eclipse.ditto.signals.commands.base.Command<?> command)
        Returns a new immutable instance of ModifyFeaturePropertiesLiveCommand.
        Parameters:
        command - the command to base the result on.
        Returns:
        the instance.
        Throws:
        NullPointerException - if command is null.
        ClassCastException - if command is not an instance of ModifyFeatureProperties.
      • modifyFeatureProperty

        @Nonnull
        public static ModifyFeaturePropertyLiveCommand modifyFeatureProperty​(org.eclipse.ditto.signals.commands.base.Command<?> command)
        Returns a new immutable instance of ModifyFeaturePropertyLiveCommand.
        Parameters:
        command - the command to base the result on.
        Returns:
        the instance.
        Throws:
        NullPointerException - if command is null.
        ClassCastException - if command is not an instance of ModifyFeatureProperty.
      • modifyFeatures

        @Nonnull
        public static ModifyFeaturesLiveCommand modifyFeatures​(org.eclipse.ditto.signals.commands.base.Command<?> command)
        Returns a new immutable instance of ModifyFeaturesLiveCommand.
        Parameters:
        command - the command to base the result on.
        Returns:
        the instance.
        Throws:
        NullPointerException - if command is null.
        ClassCastException - if command is not an instance of ModifyFeatures.
      • modifyThing

        @Nonnull
        public static ModifyThingLiveCommand modifyThing​(org.eclipse.ditto.signals.commands.base.Command<?> command)
        Returns a new immutable instance of ModifyThingLiveCommand.
        Parameters:
        command - the command to base the result on.
        Returns:
        the instance.
        Throws:
        NullPointerException - if command is null.
        ClassCastException - if command is not an instance of ModifyThing.