Enum DronePoint.Lifecycle

    • Enum Constant Detail

      • METHOD

        public static final DronePoint.Lifecycle METHOD
        Method lifecycle means the drone will be prepared in Before and destroyed in After.
      • CLASS

        public static final DronePoint.Lifecycle CLASS
        Class lifecycle means the drone will be prepared in BeforeClass and destroyed in AfterClass.
      • DEPLOYMENT

        public static final DronePoint.Lifecycle DEPLOYMENT
        Deployment lifecycle means the drone will be prepared in BeforeClass and destroyed in BeforeUnDeploy.
    • Method Detail

      • values

        public static DronePoint.Lifecycle[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (DronePoint.Lifecycle c : DronePoint.Lifecycle.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static DronePoint.Lifecycle valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null