Package uk.co.sculptor.kflibjava
Enum Class Server.CopyOption
- All Implemented Interfaces:
Serializable
,Comparable<Server.CopyOption>
,Constable
- Enclosing class:
Server
Enumerator flags used to specify the copyFile options.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionlong
getLong()
Returns the Execution flag as the long value used on KfServerstatic int
getScValue
(EnumSet<Server.CopyOption> options) Convert a EnumSet of CopyOption's to the sculptor value used on the server.static Server.CopyOption
Returns the enum constant of this class with the specified name.static Server.CopyOption[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
No flag -
TEXT
Copy text file. -
UPDATE
Copy if missing or newer. -
BINARY
Copy binary file. -
TIME
Copy time last updated. -
MAKEPATH
Make destination path.
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
getScValue
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
-