Uses of Class
org.eclipse.ditto.things.model.ThingLifecycle
-
Packages that use ThingLifecycle Package Description org.eclipse.ditto.things.model Contains the Things framework around the cornerstone of this package:Thing. -
-
Uses of ThingLifecycle in org.eclipse.ditto.things.model
Methods in org.eclipse.ditto.things.model that return ThingLifecycle Modifier and Type Method Description static ThingLifecycleThingLifecycle. valueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ThingLifecycle[]ThingLifecycle. values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.eclipse.ditto.things.model that return types with arguments of type ThingLifecycle Modifier and Type Method Description static java.util.Optional<ThingLifecycle>ThingLifecycle. forName(java.lang.String name)Returns theThingLifecyclewith the given name.java.util.Optional<ThingLifecycle>Thing. getLifecycle()Returns the current lifecycle of this Thing.Methods in org.eclipse.ditto.things.model with parameters of type ThingLifecycle Modifier and Type Method Description default booleanThing. hasLifecycle(ThingLifecycle lifecycle)Indicates whether this Thing has the given lifecycle.ThingThing. setLifecycle(ThingLifecycle newLifecycle)Sets the given lifecycle to a copy of this Thing.ThingBuilder.FromCopyThingBuilder.FromCopy. setLifecycle(java.util.function.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.FromScratchThingBuilder.FromScratch. setLifecycle(ThingLifecycle lifecycle)Sets the given lifecycle to this builder.Method parameters in org.eclipse.ditto.things.model with type arguments of type ThingLifecycle Modifier and Type Method Description ThingBuilder.FromCopyThingBuilder.FromCopy. setLifecycle(java.util.function.Predicate<ThingLifecycle> existingLifecyclePredicate, ThingLifecycle lifecycle)Sets the given lifecycle to this builder.
-