Web Dynpro API Documentation

com.sap.tc.webdynpro.services.sal.deployment.api
Class WDDeployableObjectState

java.lang.Object
  |
  +--com.sap.tc.webdynpro.services.sal.deployment.api.WDDeployableObjectState

public class WDDeployableObjectState
extends java.lang.Object

Constants representing the possible deployment states of Web Dynpro applications.


Field Summary
static WDDeployableObjectState REMOVED
          The application was deployed before and is removed in the meantime.
static WDDeployableObjectState STARTED
          The application is deployed and started, i.e.
static WDDeployableObjectState STOPPED
          The application is deployed but it's state is stopped, i.e.
static WDDeployableObjectState UNKNOWN
          The application state is unknown.
 
Method Summary
 java.lang.String getIconURL()
          Deprecated. Method not supported in 6.30 and later. This method may be withdrawn with the first new NetWeaver release in 2006.
static WDDeployableObjectState getStateObject(int state)
          Deprecated. For better consistency across the Web Dynpro API this method has been renamed to valueOf(String). The method with the old name has been kept for backward compatibility reasons and may be withdrawn from the public API with the first new NetWeaver release in 2006.
 java.lang.String toString()
          Return is the name of the state.
static WDDeployableObjectState valueOf(java.lang.String state)
          Return is the WDDeployableObjectState instance representing the specified state.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

STOPPED

public static final WDDeployableObjectState STOPPED
The application is deployed but it's state is stopped, i.e. not ready-to-use currently.

STARTED

public static final WDDeployableObjectState STARTED
The application is deployed and started, i.e. it is ready-to-use.

REMOVED

public static final WDDeployableObjectState REMOVED
The application was deployed before and is removed in the meantime.

UNKNOWN

public static final WDDeployableObjectState UNKNOWN
The application state is unknown.
Method Detail

toString

public java.lang.String toString()
Return is the name of the state.
Overrides:
toString in class java.lang.Object

getStateObject

public static WDDeployableObjectState getStateObject(int state)
Deprecated. For better consistency across the Web Dynpro API this method has been renamed to valueOf(String). The method with the old name has been kept for backward compatibility reasons and may be withdrawn from the public API with the first new NetWeaver release in 2006.

Return is the WDDeployableObjectState instance belonging to the integer identifier specified as input parameter.
Parameters:
state - the state identifier
Returns:
the WDDeployableObjectState instance representing the state specified by the integer in the argument

valueOf

public static WDDeployableObjectState valueOf(java.lang.String state)
Return is the WDDeployableObjectState instance representing the specified state. If the given state is not defined, an IllegalArgumentException is thrown.
Parameters:
state - the name of the state
Returns:
the WDDeployableObjectState instance representing the specified state
Throws:
WDIllegalArgumentException - if the given state is undefined

getIconURL

public java.lang.String getIconURL()
Deprecated. Method not supported in 6.30 and later. This method may be withdrawn with the first new NetWeaver release in 2006.

Return is the URL to the icon representing the current deployable object state.
Returns:
the URL to the icon representing the current deployable object state

Web Dynpro API Documentation

Copyright © 2004 SAP AG. Automatically generated Thu Mar 3 2005, 22:15