Package org.tmatesoft.svn.core.wc2
Enum SvnSchedule
- All Implemented Interfaces:
Serializable
,Comparable<SvnSchedule>
,java.lang.constant.Constable
Describe the kind of schedule. This can be:
- NORMAL - item is not scheduled
- ADD - item is scheduled for add
- DELETE - item is scheduled for delete
- REPLACE - item is scheduled for replace
- Version:
- 1.7
- Author:
- TMate Software Ltd.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionasString()
ReturnsString
representation of schedule, empty string if item is not scheduled, schedule name otherwise.static SvnSchedule
fromString
(String str) CreatesSvnSchedule
fromString
representation.static SvnSchedule
Returns the enum constant of this type with the specified name.static SvnSchedule[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
NORMAL
-
ADD
-
DELETE
-
REPLACE
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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 nameNullPointerException
- if the argument is null
-
asString
ReturnsString
representation of schedule, empty string if item is not scheduled, schedule name otherwise.- Returns:
- schedule as
String
-
fromString
CreatesSvnSchedule
fromString
representation.- Parameters:
str
- scheduleString
representation- Returns:
SvnSchedule
object
-