Enum DynamicType.Default.Dispatcher.ForLegacyVm

    • Constructor Detail

      • ForLegacyVm

        private ForLegacyVm()
    • Method Detail

      • values

        public static DynamicType.Default.Dispatcher.ForLegacyVm[] 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 (DynamicType.Default.Dispatcher.ForLegacyVm c : DynamicType.Default.Dispatcher.ForLegacyVm.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static DynamicType.Default.Dispatcher.ForLegacyVm valueOf​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • copy

        public boolean copy​(java.io.File source,
                            java.io.File target)
                     throws java.io.IOException
        Copies the source file to the target location.
        Specified by:
        copy in interface DynamicType.Default.Dispatcher
        Parameters:
        source - The source file.
        target - The target file.
        Returns:
        true if the source file needs to be deleted.
        Throws:
        java.io.IOException - If an I/O error occurs.