Enum ChangeType

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<ChangeType>

    public enum ChangeType
    extends java.lang.Enum<ChangeType>
    The supported types of changes that can be signaled to the change callback.
    • Enum Constant Detail

      • COMPLETED_SERIES

        public static final ChangeType COMPLETED_SERIES
        Series is now complete
      • DELETED

        public static final ChangeType DELETED
        Deleted resource
      • NEW_CHILD_INSTANCE

        public static final ChangeType NEW_CHILD_INSTANCE
        A new instance was added to this resource
      • NEW_INSTANCE

        public static final ChangeType NEW_INSTANCE
        New instance received
      • NEW_PATIENT

        public static final ChangeType NEW_PATIENT
        New patient created
      • NEW_SERIES

        public static final ChangeType NEW_SERIES
        New series created
      • NEW_STUDY

        public static final ChangeType NEW_STUDY
        New study created
      • STABLE_PATIENT

        public static final ChangeType STABLE_PATIENT
        Timeout: No new instance in this patient
      • STABLE_SERIES

        public static final ChangeType STABLE_SERIES
        Timeout: No new instance in this series
      • STABLE_STUDY

        public static final ChangeType STABLE_STUDY
        Timeout: No new instance in this study
      • ORTHANC_STARTED

        public static final ChangeType ORTHANC_STARTED
        Orthanc has started
      • ORTHANC_STOPPED

        public static final ChangeType ORTHANC_STOPPED
        Orthanc is stopping
      • UPDATED_ATTACHMENT

        public static final ChangeType UPDATED_ATTACHMENT
        Some user-defined attachment has changed for this resource
      • UPDATED_METADATA

        public static final ChangeType UPDATED_METADATA
        Some user-defined metadata has changed for this resource
      • UPDATED_PEERS

        public static final ChangeType UPDATED_PEERS
        The list of Orthanc peers has changed
      • UPDATED_MODALITIES

        public static final ChangeType UPDATED_MODALITIES
        The list of DICOM modalities has changed
      • JOB_SUBMITTED

        public static final ChangeType JOB_SUBMITTED
        New Job submitted
      • JOB_SUCCESS

        public static final ChangeType JOB_SUCCESS
        A Job has completed successfully
      • JOB_FAILURE

        public static final ChangeType JOB_FAILURE
        A Job has failed
    • Method Detail

      • values

        public static ChangeType[] 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 (ChangeType c : ChangeType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ChangeType valueOf​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • getInstance

        protected static ChangeType getInstance​(int value)
        Return the enumeration value that corresponds to an integer value of interest.
        Parameters:
        value - The integer value.
        Returns:
        The enumeration value.
      • getValue

        public int getValue()
        Get the integer value corresponding to this enumeration value.
        Returns:
        The integer value.