public final class CompletionStatus extends Object implements IDLEntity
SystemException was thrown.
 
 The class CompletionStatus
 contains three CompletionStatus instances, which are constants
 representing each
 possible completion status: COMPLETED_MAYBE,
 COMPLETED_NO, and COMPLETED_YES.
 It also contains
 three int members, each a constant corresponding to one of
 the CompletionStatus instances.  These int
 members make it possible to use a switch statement.
 
The class also contains two methods:
public int value () -- which accesses the
 value field of a CompletionStatus object
 public static CompletionStatus
 from_int (int i) --
 for creating an instance from one of the int members
 SystemException| Modifier and Type | Field and Description | 
|---|---|
| static int | _COMPLETED_MAYBEThe constant indicating that a method completed running
 before a  SystemExceptionwas thrown. | 
| static int | _COMPLETED_NOThe constant indicating that a method completed running
 before a  SystemExceptionwas thrown. | 
| static int | _COMPLETED_YESThe constant indicating that a method completed running
 before a  SystemExceptionwas thrown. | 
| static CompletionStatus | COMPLETED_MAYBEAn instance of  CompletionStatusinitialized with
 the constant_COMPLETED_MAYBE. | 
| static CompletionStatus | COMPLETED_NOAn instance of  CompletionStatusinitialized with
 the constant_COMPLETED_NO. | 
| static CompletionStatus | COMPLETED_YESAn instance of  CompletionStatusinitialized with
 the constant_COMPLETED_YES. | 
| Modifier and Type | Method and Description | 
|---|---|
| static CompletionStatus | from_int(int i)Creates a  CompletionStatusobject from the givenint. | 
| int | value()Retrieves the value of this  CompletionStatusobject. | 
public static final int _COMPLETED_YES
SystemException was thrown.public static final int _COMPLETED_NO
SystemException was thrown.public static final int _COMPLETED_MAYBE
SystemException was thrown.public static final CompletionStatus COMPLETED_YES
CompletionStatus initialized with
 the constant _COMPLETED_YES.public static final CompletionStatus COMPLETED_NO
CompletionStatus initialized with
 the constant _COMPLETED_NO.public static final CompletionStatus COMPLETED_MAYBE
CompletionStatus initialized with
 the constant _COMPLETED_MAYBE.public int value()
CompletionStatus object.CompletionStatus values:
          _COMPLETED_YES, _COMPLETED_NO, or
          _COMPLETED_MAYBEpublic static CompletionStatus from_int(int i)
CompletionStatus object from the given int.i - one of _COMPLETED_YES, _COMPLETED_NO, or
          _COMPLETED_MAYBECompletionStatus objects
          with values:
          _COMPLETED_YES, _COMPLETED_NO, or
          _COMPLETED_MAYBEBAD_PARAM - if the argument given is not one of the
            int constants defined in CompletionStatus Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2023, Oracle and/or its affiliates.  All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.