com.sap.portal.mdm.connectivity

Enum AppStatus

java.lang.Object
  extended by java.lang.Enum<AppStatus>
      extended by com.sap.portal.mdm.connectivity.AppStatus
All Implemented Interfaces:
Serializable, Comparable<AppStatus>

public enum AppStatus
extends Enum<AppStatus>

An enumeration that defines the installation status of an application. For Web and native applications, when no MDM system is registered, the IN_PROGRESS status is not reported.


Enum Constant Summary
FAILED
           
IN_PROGRESS
           
INSTALLED
           
NOT_INSTALLED
           
 
Method Summary
 int getID()
          Gets the ID of the applications installation status
static AppStatus getStatusById(int ID)
          Returns the the application installation status according to its ID
static AppStatus valueOf(String name)
          Returns the enum constant of this type with the specified name.
static AppStatus[] 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 AppStatus NOT_INSTALLED

IN_PROGRESS

public static final AppStatus IN_PROGRESS

INSTALLED

public static final AppStatus INSTALLED

FAILED

public static final AppStatus FAILED
Method Detail

values

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

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

valueOf

public static AppStatus 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

getID

public int getID()
Gets the ID of the applications installation status

Returns:
ID

getStatusById

public static AppStatus getStatusById(int ID)
Returns the the application installation status according to its ID

Parameters:
ID - the ID that is defined by the AppStatus enumeration
Returns:
AppStatus


Copyright 2013 SAP AG Complete Copyright Notice