Class ModifyLiveCommandFactory
- java.lang.Object
-
- org.eclipse.ditto.signals.commands.live.modify.ModifyLiveCommandFactory
-
@ParametersAreNonnullByDefault @Immutable public final class ModifyLiveCommandFactory extends Object
A factory for getting immutable instances of modifyLiveCommands.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CreateThingLiveCommandcreateThing(org.eclipse.ditto.signals.commands.base.Command<?> command)Returns a new immutable instance ofCreateThingLiveCommand.static DeleteAttributeLiveCommanddeleteAttribute(org.eclipse.ditto.signals.commands.base.Command<?> command)Returns a new immutable instance ofDeleteAttributeLiveCommand.static DeleteAttributesLiveCommanddeleteAttributes(org.eclipse.ditto.signals.commands.base.Command<?> command)Returns a new immutable instance ofDeleteAttributesLiveCommand.static DeleteFeatureLiveCommanddeleteFeature(org.eclipse.ditto.signals.commands.base.Command<?> command)Returns a new immutable instance ofDeleteFeatureLiveCommand.static DeleteFeatureDefinitionLiveCommanddeleteFeatureDefinition(org.eclipse.ditto.signals.commands.base.Command<?> command)Returns a new immutable instance ofDeleteFeatureDefinitionLiveCommand.static DeleteFeaturePropertiesLiveCommanddeleteFeatureProperties(org.eclipse.ditto.signals.commands.base.Command<?> command)Returns a new immutable instance ofDeleteFeaturePropertiesLiveCommand.static DeleteFeaturePropertyLiveCommanddeleteFeatureProperty(org.eclipse.ditto.signals.commands.base.Command<?> command)Returns a new immutable instance ofDeleteFeaturePropertyLiveCommand.static DeleteFeaturesLiveCommanddeleteFeatures(org.eclipse.ditto.signals.commands.base.Command<?> command)Returns a new immutable instance ofDeleteFeaturesLiveCommand.static DeleteThingLiveCommanddeleteThing(org.eclipse.ditto.signals.commands.base.Command<?> command)Returns a new immutable instance ofDeleteThingLiveCommand.static ModifyAttributeLiveCommandmodifyAttribute(org.eclipse.ditto.signals.commands.base.Command<?> command)Returns a new immutable instance ofModifyAttributeLiveCommand.static ModifyAttributesLiveCommandmodifyAttributes(org.eclipse.ditto.signals.commands.base.Command<?> command)Returns a new immutable instance ofModifyAttributesLiveCommand.static ModifyFeatureLiveCommandmodifyFeature(org.eclipse.ditto.signals.commands.base.Command<?> command)Returns a new immutable instance ofModifyFeatureLiveCommand.static ModifyFeatureDefinitionLiveCommandmodifyFeatureDefinition(org.eclipse.ditto.signals.commands.base.Command<?> command)Returns a new immutable instance ofModifyFeatureDefinitionLiveCommand.static ModifyFeaturePropertiesLiveCommandmodifyFeatureProperties(org.eclipse.ditto.signals.commands.base.Command<?> command)Returns a new immutable instance ofModifyFeaturePropertiesLiveCommand.static ModifyFeaturePropertyLiveCommandmodifyFeatureProperty(org.eclipse.ditto.signals.commands.base.Command<?> command)Returns a new immutable instance ofModifyFeaturePropertyLiveCommand.static ModifyFeaturesLiveCommandmodifyFeatures(org.eclipse.ditto.signals.commands.base.Command<?> command)Returns a new immutable instance ofModifyFeaturesLiveCommand.static ModifyThingLiveCommandmodifyThing(org.eclipse.ditto.signals.commands.base.Command<?> command)Returns a new immutable instance ofModifyThingLiveCommand.
-
-
-
Method Detail
-
createThing
@Nonnull public static CreateThingLiveCommand createThing(org.eclipse.ditto.signals.commands.base.Command<?> command)
Returns a new immutable instance ofCreateThingLiveCommand.- Parameters:
command- the command to base the result on.- Returns:
- the instance.
- Throws:
NullPointerException- ifcommandisnull.ClassCastException- ifcommandis not an instance ofCreateThing.
-
deleteAttribute
@Nonnull public static DeleteAttributeLiveCommand deleteAttribute(org.eclipse.ditto.signals.commands.base.Command<?> command)
Returns a new immutable instance ofDeleteAttributeLiveCommand.- Parameters:
command- the command to base the result on.- Returns:
- the instance.
- Throws:
NullPointerException- ifcommandisnull.ClassCastException- ifcommandis not an instance ofDeleteAttribute.
-
deleteAttributes
@Nonnull public static DeleteAttributesLiveCommand deleteAttributes(org.eclipse.ditto.signals.commands.base.Command<?> command)
Returns a new immutable instance ofDeleteAttributesLiveCommand.- Parameters:
command- the command to base the result on.- Returns:
- the instance.
- Throws:
NullPointerException- ifcommandisnull.ClassCastException- ifcommandis not an instance ofDeleteAttributes.
-
deleteFeature
@Nonnull public static DeleteFeatureLiveCommand deleteFeature(org.eclipse.ditto.signals.commands.base.Command<?> command)
Returns a new immutable instance ofDeleteFeatureLiveCommand.- Parameters:
command- the command to base the result on.- Returns:
- the instance.
- Throws:
NullPointerException- ifcommandisnull.ClassCastException- ifcommandis not an instance ofDeleteFeature.
-
deleteFeatureDefinition
@Nonnull public static DeleteFeatureDefinitionLiveCommand deleteFeatureDefinition(org.eclipse.ditto.signals.commands.base.Command<?> command)
Returns a new immutable instance ofDeleteFeatureDefinitionLiveCommand.- Parameters:
command- the command to base the result on.- Returns:
- the instance.
- Throws:
NullPointerException- ifcommandisnull.ClassCastException- ifcommandis not an instance ofDeleteFeatureDefinition.
-
deleteFeatureProperties
@Nonnull public static DeleteFeaturePropertiesLiveCommand deleteFeatureProperties(org.eclipse.ditto.signals.commands.base.Command<?> command)
Returns a new immutable instance ofDeleteFeaturePropertiesLiveCommand.- Parameters:
command- the command to base the result on.- Returns:
- the instance.
- Throws:
NullPointerException- ifcommandisnull.ClassCastException- ifcommandis not an instance ofDeleteFeatureProperties.
-
deleteFeatureProperty
@Nonnull public static DeleteFeaturePropertyLiveCommand deleteFeatureProperty(org.eclipse.ditto.signals.commands.base.Command<?> command)
Returns a new immutable instance ofDeleteFeaturePropertyLiveCommand.- Parameters:
command- the command to base the result on.- Returns:
- the instance.
- Throws:
NullPointerException- ifcommandisnull.ClassCastException- ifcommandis not an instance ofDeleteFeatureProperty.
-
deleteFeatures
@Nonnull public static DeleteFeaturesLiveCommand deleteFeatures(org.eclipse.ditto.signals.commands.base.Command<?> command)
Returns a new immutable instance ofDeleteFeaturesLiveCommand.- Parameters:
command- the command to base the result on.- Returns:
- the instance.
- Throws:
NullPointerException- ifcommandisnull.ClassCastException- ifcommandis not an instance ofDeleteFeatures.
-
deleteThing
@Nonnull public static DeleteThingLiveCommand deleteThing(org.eclipse.ditto.signals.commands.base.Command<?> command)
Returns a new immutable instance ofDeleteThingLiveCommand.- Parameters:
command- the command to base the result on.- Returns:
- the instance.
- Throws:
NullPointerException- ifcommandisnull.ClassCastException- ifcommandis not an instance ofDeleteThing.
-
modifyAttribute
@Nonnull public static ModifyAttributeLiveCommand modifyAttribute(org.eclipse.ditto.signals.commands.base.Command<?> command)
Returns a new immutable instance ofModifyAttributeLiveCommand.- Parameters:
command- the command to base the result on.- Returns:
- the instance.
- Throws:
NullPointerException- ifcommandisnull.ClassCastException- ifcommandis not an instance ofModifyAttribute.
-
modifyAttributes
@Nonnull public static ModifyAttributesLiveCommand modifyAttributes(org.eclipse.ditto.signals.commands.base.Command<?> command)
Returns a new immutable instance ofModifyAttributesLiveCommand.- Parameters:
command- the command to base the result on.- Returns:
- the instance.
- Throws:
NullPointerException- ifcommandisnull.ClassCastException- ifcommandis not an instance ofModifyAttributes.
-
modifyFeature
@Nonnull public static ModifyFeatureLiveCommand modifyFeature(org.eclipse.ditto.signals.commands.base.Command<?> command)
Returns a new immutable instance ofModifyFeatureLiveCommand.- Parameters:
command- the command to base the result on.- Returns:
- the instance.
- Throws:
NullPointerException- ifcommandisnull.ClassCastException- ifcommandis not an instance ofModifyFeature.
-
modifyFeatureDefinition
@Nonnull public static ModifyFeatureDefinitionLiveCommand modifyFeatureDefinition(org.eclipse.ditto.signals.commands.base.Command<?> command)
Returns a new immutable instance ofModifyFeatureDefinitionLiveCommand.- Parameters:
command- the command to base the result on.- Returns:
- the instance.
- Throws:
NullPointerException- ifcommandisnull.ClassCastException- ifcommandis not an instance ofModifyFeatureDefinition.
-
modifyFeatureProperties
@Nonnull public static ModifyFeaturePropertiesLiveCommand modifyFeatureProperties(org.eclipse.ditto.signals.commands.base.Command<?> command)
Returns a new immutable instance ofModifyFeaturePropertiesLiveCommand.- Parameters:
command- the command to base the result on.- Returns:
- the instance.
- Throws:
NullPointerException- ifcommandisnull.ClassCastException- ifcommandis not an instance ofModifyFeatureProperties.
-
modifyFeatureProperty
@Nonnull public static ModifyFeaturePropertyLiveCommand modifyFeatureProperty(org.eclipse.ditto.signals.commands.base.Command<?> command)
Returns a new immutable instance ofModifyFeaturePropertyLiveCommand.- Parameters:
command- the command to base the result on.- Returns:
- the instance.
- Throws:
NullPointerException- ifcommandisnull.ClassCastException- ifcommandis not an instance ofModifyFeatureProperty.
-
modifyFeatures
@Nonnull public static ModifyFeaturesLiveCommand modifyFeatures(org.eclipse.ditto.signals.commands.base.Command<?> command)
Returns a new immutable instance ofModifyFeaturesLiveCommand.- Parameters:
command- the command to base the result on.- Returns:
- the instance.
- Throws:
NullPointerException- ifcommandisnull.ClassCastException- ifcommandis not an instance ofModifyFeatures.
-
modifyThing
@Nonnull public static ModifyThingLiveCommand modifyThing(org.eclipse.ditto.signals.commands.base.Command<?> command)
Returns a new immutable instance ofModifyThingLiveCommand.- Parameters:
command- the command to base the result on.- Returns:
- the instance.
- Throws:
NullPointerException- ifcommandisnull.ClassCastException- ifcommandis not an instance ofModifyThing.
-
-