Uses of Enum Class
org.eclipse.ditto.things.model.ThingLifecycle
Packages that use ThingLifecycle
-
Uses of ThingLifecycle in org.eclipse.ditto.things.model
Methods in org.eclipse.ditto.things.model that return ThingLifecycleModifier and TypeMethodDescriptionstatic ThingLifecycleReturns the enum constant of this class with the specified name.static ThingLifecycle[]ThingLifecycle.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.eclipse.ditto.things.model that return types with arguments of type ThingLifecycleModifier and TypeMethodDescriptionstatic Optional<ThingLifecycle>Returns theThingLifecyclewith the given name.Thing.getLifecycle()Returns the current lifecycle of this Thing.Methods in org.eclipse.ditto.things.model with parameters of type ThingLifecycleModifier and TypeMethodDescriptiondefault booleanThing.hasLifecycle(ThingLifecycle lifecycle) Indicates whether this Thing has the given lifecycle.Thing.setLifecycle(ThingLifecycle newLifecycle) Sets the given lifecycle to a copy of this Thing.ThingBuilder.FromCopy.setLifecycle(Predicate<ThingLifecycle> existingLifecyclePredicate, ThingLifecycle lifecycle) Sets the given lifecycle to this builder.default ThingBuilder.FromCopyThingBuilder.FromCopy.setLifecycle(ThingLifecycle lifecycle) Sets the given lifecycle to this builder.ThingBuilder.FromScratch.setLifecycle(ThingLifecycle lifecycle) Sets the given lifecycle to this builder.Method parameters in org.eclipse.ditto.things.model with type arguments of type ThingLifecycleModifier and TypeMethodDescriptionThingBuilder.FromCopy.setLifecycle(Predicate<ThingLifecycle> existingLifecyclePredicate, ThingLifecycle lifecycle) Sets the given lifecycle to this builder.