JTablet 1.2.0 API

cello.jtablet.installer
Enum JTabletExtension.InstallStatus

java.lang.Object
  extended by java.lang.Enum<JTabletExtension.InstallStatus>
      extended by cello.jtablet.installer.JTabletExtension.InstallStatus
All Implemented Interfaces:
Serializable, Comparable<JTabletExtension.InstallStatus>
Enclosing class:
JTabletExtension

public static enum JTabletExtension.InstallStatus
extends Enum<JTabletExtension.InstallStatus>

Describes the current install state as returned by JTabletExtension.getInstallStatus(String).

Author:
marcello

Enum Constant Summary
INSTALLED
          An equal or newer version of JTablet is installed.
NOT_INSTALLED
          JTablet is not installed as an extension.
UPDATE_REQUIRED
          An older version of JTablet is installed and may cause problems/errors.
 
Method Summary
static JTabletExtension.InstallStatus valueOf(String name)
          Returns the enum constant of this type with the specified name.
static JTabletExtension.InstallStatus[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
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
 

Enum Constant Detail

NOT_INSTALLED

public static final JTabletExtension.InstallStatus NOT_INSTALLED
JTablet is not installed as an extension.


UPDATE_REQUIRED

public static final JTabletExtension.InstallStatus UPDATE_REQUIRED
An older version of JTablet is installed and may cause problems/errors.


INSTALLED

public static final JTabletExtension.InstallStatus INSTALLED
An equal or newer version of JTablet is installed.

Method Detail

values

public static JTabletExtension.InstallStatus[] 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 (JTabletExtension.InstallStatus c : JTabletExtension.InstallStatus.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static JTabletExtension.InstallStatus 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

JTablet 1.2.0 API