public enum SvnSchedule extends Enum<SvnSchedule>
Modifier and Type | Method and Description |
---|---|
String |
asString()
Returns
String representation of schedule,
empty string if item is not scheduled, schedule name otherwise. |
static SvnSchedule |
fromString(String str)
Creates
SvnSchedule from String representation. |
static SvnSchedule |
valueOf(String name)
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.
|
public static final SvnSchedule NORMAL
public static final SvnSchedule ADD
public static final SvnSchedule DELETE
public static final SvnSchedule REPLACE
public static SvnSchedule[] values()
for (SvnSchedule c : SvnSchedule.values()) System.out.println(c);
public static SvnSchedule valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String asString()
String
representation of schedule,
empty string if item is not scheduled, schedule name otherwise.String
public static SvnSchedule fromString(String str)
SvnSchedule
from String
representation.str
- schedule String
representationSvnSchedule
objectCopyright © 2019. All rights reserved.