Enum Class Server.CopyOption

java.lang.Object
java.lang.Enum<Server.CopyOption>
uk.co.sculptor.kflibjava.Server.CopyOption
All Implemented Interfaces:
Serializable, Comparable<Server.CopyOption>, Constable
Enclosing class:
Server

public static enum Server.CopyOption extends Enum<Server.CopyOption>
Enumerator flags used to specify the copyFile options.
  • Enum Constant Details

  • Method Details

    • values

      public static Server.CopyOption[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Server.CopyOption valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • getScValue

      public static int getScValue(EnumSet<Server.CopyOption> options)
      Convert a EnumSet of CopyOption's to the sculptor value used on the server.
      Parameters:
      options - Server.CopyOption Enumerator set
      Returns:
      the sculptor value used on KfServer.
    • getLong

      public long getLong()
      Returns the Execution flag as the long value used on KfServer
      Returns:
      Execution flag as the long value used on KfServer