com.jurismarches.vradi
Enum VradiConstants.SessionStatus
java.lang.Object
java.lang.Enum<VradiConstants.SessionStatus>
com.jurismarches.vradi.VradiConstants.SessionStatus
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<VradiConstants.SessionStatus>
- Enclosing class:
- VradiConstants
public static enum VradiConstants.SessionStatus
- extends java.lang.Enum<VradiConstants.SessionStatus>
Session status.
| Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
ACTIVE
public static final VradiConstants.SessionStatus ACTIVE
STOPPED
public static final VradiConstants.SessionStatus STOPPED
SENT
public static final VradiConstants.SessionStatus SENT
ERROR
public static final VradiConstants.SessionStatus ERROR
description
protected final java.lang.String description
values
public static VradiConstants.SessionStatus[] 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 (VradiConstants.SessionStatus c : VradiConstants.SessionStatus.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static VradiConstants.SessionStatus 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 name
java.lang.NullPointerException - if the argument is null
getDescription
public java.lang.String getDescription()
getStatus
public static VradiConstants.SessionStatus getStatus(int i)
getValue
public int getValue()
isActive
public static boolean isActive(Session session)
isSent
public static boolean isSent(Session session)
isStopped
public static boolean isStopped(Session session)
isToRestart
public static boolean isToRestart(Session session)
isToSend
public static boolean isToSend(Session session)
Copyright © 2009-2010 JurisMarches. All Rights Reserved.