geocaching.api.data.type
Enum LogType
java.lang.Object
java.lang.Enum<LogType>
geocaching.api.data.type.LogType
- All Implemented Interfaces:
- Serializable, Comparable<LogType>
public enum LogType
- extends Enum<LogType>
Unknown
public static final LogType Unknown
FoundIt
public static final LogType FoundIt
DidntFindIt
public static final LogType DidntFindIt
WriteNote
public static final LogType WriteNote
NeedsMaintenance
public static final LogType NeedsMaintenance
OwnerMaintenance
public static final LogType OwnerMaintenance
PublishListing
public static final LogType PublishListing
EnableListing
public static final LogType EnableListing
TemporarilyDisableListing
public static final LogType TemporarilyDisableListing
UpdateCoordinates
public static final LogType UpdateCoordinates
Announcement
public static final LogType Announcement
WillAttend
public static final LogType WillAttend
Attended
public static final LogType Attended
PostReviewerNote
public static final LogType PostReviewerNote
NeedsArchived
public static final LogType NeedsArchived
WebcamPhotoTaken
public static final LogType WebcamPhotoTaken
RetractListing
public static final LogType RetractListing
values
public static LogType[] 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 (LogType c : LogType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static LogType valueOf(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:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
toString
public String toString()
- Overrides:
toString in class Enum<LogType>
getFriendlyName
public String getFriendlyName()
parseLogType
public static LogType parseLogType(String log)
Copyright © 2012. All Rights Reserved.