wt.content
Class HttpOperationStatus

java.lang.Object
  extended by wt.fc.EnumeratedType
      extended by wt.content.HttpOperationStatus
All Implemented Interfaces:
Serializable, Comparable, EnumeratedType, LocalizableMetadata, LocalizableMessage, Message

public class HttpOperationStatus
extends EnumeratedType
implements Serializable

Used to indicate status of an upload or a download. The statuses are self-explanatory. The initial status of HttpOperationItems and HttpContentOperation objects is READY. Clients should be prepared to deal with statuses returned as COMPLETE, FAILED, UNKNOWN, IGNORE, CANCEL.

Supported API: true

Extendable: false

See Also:
HttpContentOperation, HttpOperationItem, Serialized Form

Field Summary
 
Fields inherited from interface wt.meta.EnumeratedType
DEFAULT_VALUE, ORDER, SELECTABLE
 
Method Summary
static HttpOperationStatus getHttpOperationStatusDefault()
          Returns the default value (instance) for the HttpOperationStatus set.
static HttpOperationStatus[] getHttpOperationStatusSet()
          Returns a copy of the set of valid values (instances) for the HttpOperationStatus class.
 EnumeratedType[] getValueSet()
          Returns a copy of the set of valid values (instances) for this instance, for the current user locale.
static HttpOperationStatus toHttpOperationStatus(String internal_value)
          Returns the HttpOperationStatus instance for the internal_value argument.
 
Methods inherited from class wt.fc.EnumeratedType
equals, getAbbreviatedDisplay, getDisplay, getDisplay, getFullDisplay, getLocalizedMessage, getLongDescription, getOrder, getSelectableValueSet, getShortDescription, getStringValue, getStringValue, hashCode, isDefaultValue, isDefaultValue, isSelectable, main, toEnumeratedType, toEnumeratedType, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

toHttpOperationStatus

public static HttpOperationStatus toHttpOperationStatus(String internal_value)
                                                 throws WTInvalidParameterException
Returns the HttpOperationStatus instance for the internal_value argument.

Supported API: true

Parameters:
internal_value - The internal (persistent) value for a valid instance of HttpOperationStatus.
Returns:
HttpOperationStatus
Throws:
WTInvalidParameterException

getHttpOperationStatusDefault

public static HttpOperationStatus getHttpOperationStatusDefault()
Returns the default value (instance) for the HttpOperationStatus set.

Supported API: true

Returns:
HttpOperationStatus

getHttpOperationStatusSet

public static HttpOperationStatus[] getHttpOperationStatusSet()
Returns a copy of the set of valid values (instances) for the HttpOperationStatus class.

Supported API: true

Returns:
HttpOperationStatus[]

getValueSet

public EnumeratedType[] getValueSet()
Returns a copy of the set of valid values (instances) for this instance, for the current user locale.

Supported API: true

Specified by:
getValueSet in class EnumeratedType
Returns:
EnumeratedType[]