org.universAAL.middleware.interfaces.mpa
Enum UAPPPartStatus

Package class diagram package UAPPPartStatus
java.lang.Object
  extended by java.lang.Enum<UAPPPartStatus>
      extended by org.universAAL.middleware.interfaces.mpa.UAPPPartStatus
All Implemented Interfaces:
Serializable, Comparable<UAPPPartStatus>

public enum UAPPPartStatus
extends Enum<UAPPPartStatus>

Installation status of an uApp

Version:
$LastChangedRevision$ ( $LastChangedDate$ )
Author:
Michele Girolami, Francesco Furfari, Stefano Lenzi

Enum Constant Summary
PART_INSTALLED
          It means that the part has been installed SUCCESFULLY
PART_MISSING_NEEDED_FILES
          It means that the part installation FAILED because missing file need for the container for installing the parts
PART_NOT_INSTALLED
          It means that the part installation FAILED somehow
PART_NOT_UNINSTALLED
          It means that the part UNinstallation FAILED somehow
PART_PENDING
          Deprecated.  
PART_UNINSTALLED
          It means that the part has been UNinstalled SUCCESFULLY
 
Method Summary
static UAPPPartStatus valueOf(String name)
          Returns the enum constant of this type with the specified name.
static UAPPPartStatus[] 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

PART_INSTALLED

public static final UAPPPartStatus PART_INSTALLED
It means that the part has been installed SUCCESFULLY


PART_NOT_INSTALLED

public static final UAPPPartStatus PART_NOT_INSTALLED
It means that the part installation FAILED somehow


PART_PENDING

public static final UAPPPartStatus PART_PENDING
Deprecated. 
Not in use


PART_UNINSTALLED

public static final UAPPPartStatus PART_UNINSTALLED
It means that the part has been UNinstalled SUCCESFULLY


PART_NOT_UNINSTALLED

public static final UAPPPartStatus PART_NOT_UNINSTALLED
It means that the part UNinstallation FAILED somehow


PART_MISSING_NEEDED_FILES

public static final UAPPPartStatus PART_MISSING_NEEDED_FILES
It means that the part installation FAILED because missing file need for the container for installing the parts

Method Detail

values

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

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

valueOf

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


Copyright © 2014 universAAL Consortium. All Rights Reserved.