Package org.dcache.xrootd.protocol
Enum XrootdProtocol.FilePerm
- java.lang.Object
-
- java.lang.Enum<XrootdProtocol.FilePerm>
-
- org.dcache.xrootd.protocol.XrootdProtocol.FilePerm
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<XrootdProtocol.FilePerm>
- Enclosing interface:
- XrootdProtocol
public static enum XrootdProtocol.FilePerm extends java.lang.Enum<XrootdProtocol.FilePerm>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DELETEREADWRITEWRITE_ONCE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static XrootdProtocol.FilePermvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static XrootdProtocol.FilePerm[]values()Returns an array containing the constants of this enum type, in the order they are declared.java.lang.StringxmlText()
-
-
-
Enum Constant Detail
-
READ
public static final XrootdProtocol.FilePerm READ
-
WRITE_ONCE
public static final XrootdProtocol.FilePerm WRITE_ONCE
-
WRITE
public static final XrootdProtocol.FilePerm WRITE
-
DELETE
public static final XrootdProtocol.FilePerm DELETE
-
-
Method Detail
-
values
public static XrootdProtocol.FilePerm[] 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 (XrootdProtocol.FilePerm c : XrootdProtocol.FilePerm.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static XrootdProtocol.FilePerm 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 namejava.lang.NullPointerException- if the argument is null
-
xmlText
public java.lang.String xmlText()
-
-